ScatterChart.get_interpolated_df¶
-
ScatterChart.
get_interpolated_df
(df: pandas.core.frame.DataFrame, steps_per_period: int, interpolate_period: bool) → pandas.core.frame.DataFrame¶ Get interpolated dataframe to span total animation
- Parameters
df (pd.DataFrame) – Input dataframe
steps_per_period (int) – The number of steps to go from one period to the next. Data will show linearly between each period
interpolate_period (bool) – Whether to interpolate the period, must be datetime index
- Returns
Interpolated dataframe
- Return type
pd.DataFrame