TS2322: Type '(df: IDataFrame<any, any>) => IDataFrame<any, any>' is not assignable to type 'ISeries<any, any> | SeriesSelectorFn<any, any, any>'. Type '(df: IDataFrame<any, any>) => IDataFrame<any, any>' is not assignable to type 'SeriesSelectorFn<any, any, any>'. Type 'IDataFrame<any, any>' is missing the following properties from type 'ISeries<any, any>': amountRange, proportionRange, percentRange, amountChange, and 24 more.