Utility module

Contains utility functions.

pandas_extras.util.check_duplicated_labels(dataframe)[source]

Checks if there are duplications on column labels. Raises ValueError if there is any duplicated label.

Parameters:dataframe (DataFrame) – The DataFrame object to work on.
Returns:The original DataFrame
Return type:DataFrame
Raises:ValueError