dsp_pandas.df package

dsp_pandas.df package#

Helpers to identify interesting data in a pandas DataFrame.

dsp_pandas.df.get_unique_and_non_unique_columns(df: DataFrame) SimpleNamespace[source]#

Get back a namespace with an column.Index both of the unique and non-unique columns.

Parameters:

df (pandas.DataFrame) – DataFrame to check for unique columns.

Returns:

SimpleNamespace with unique and non_unique column names indices.

Return type:

types.SimpleNamespace

Submodules#