piper.verbs.unstack

piper.verbs.unstack(df: pandas.core.frame.DataFrame, *args, **kwargs)pandas.core.frame.DataFrame[source]

unstack dataframe

This is a wrapper function rather than using e.g. df.unstack() For details of args, kwargs - see help(pd.DataFrame.unstack)

Parameters
  • df – dataframe

  • *args – arguments for wrapped function

  • **kwargs – keyword-parameters for wrapped function

Returns

Return type

A pandas DataFrame