agent0.chainsync.dashboard.plot_utils
Plot utilities for dashboard
Functions
|
Reduces the data we plot by looking for redundant rows with no change, and only return x and y columns |
Module Contents
- agent0.chainsync.dashboard.plot_utils.reduce_plot_data(data: pandas.DataFrame, x_column_name: str, y_column_name: str) pandas.DataFrame
Reduces the data we plot by looking for redundant rows with no change, and only return x and y columns
- Parameters:
data (pd.DataFrame) – The data to plot.
x_column_name (str) – The name of the x column
y_column_name (str) – The name of the y column
- Returns:
The reduced data
- Return type:
pd.DataFrame