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

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

diff(other_profile, options=None)

Generates the differences between max, min, and formats of two DateTime columns

Returns

Dict containing the differences between max, min, and format in their

appropriate output formats :rtype: dict

update(df_series)

Updates the column profile.

Parameters

df_series (pandas.core.series.Series) – df series

Returns

None

col_type = None