_resample

_resample(df: pandas.core.frame.DataFrame, freq: str, aggregation: Union[Literal['sum'], Literal['mean']]) pandas.core.frame.DataFrame[source]
Parameters
  • df (pandas.core.frame.DataFrame) –

  • freq (str) –

  • aggregation (Union[Literal['sum'], typing.Literal['mean']]) –

Return type

pandas.core.frame.DataFrame