Datetime Column Profile¶
-
class
dataprofiler.profilers.datetime_column_profile.
DateTimeColumn
(name, options=None)¶ Bases:
dataprofiler.profilers.base_column_profilers.BaseColumnPrimitiveTypeProfiler
Datetime column profile subclass of BaseColumnProfiler. Represents a column int the dataset which is a datetime column.
Initialization of column base properties and itself.
- Parameters
name (String) – Name of the data
options (DateTimeOptions) – Options for the datetime column
-
col_type
= 'datetime'¶
-
property
profile
¶ Property for profile. Returns the profile of the column.
-
property
data_type_ratio
¶ Calculates the ratio of samples which match this data type.
- Returns
ratio of data type
- Return type
float
-
update
(df_series)¶ Updates the column profile.
- Parameters
df_series (pandas.core.series.Series) – df series
- Returns
None