ramp.Plot.__init__

Plot.__init__(df, index=None)

initializes a Plot object using a pd.DataFrame

Parameters:
  • df (pd.DataFrame) – a pd.DataFrame with pd.DatetimeIndex

  • index (pd.DatetimeIndex, optional) – if df index is not pd.DatetimeIndex, an DatetimeIndex object can be passed to change the index