charting/chart.py
def update_df(self, df: pd.DataFrame):
        """
        take a new df and update the chart
        """
        self.datasets[self.data["name"]] = df.to_dict("records")
        return self

        take a new df and update the chart
        
take a new df and update the chart
take a new df and update the chart
def update_df(self, df: pd.DataFrame):
        self.datasets[self.data["name"]] = df.to_dict("records")
        return self
def update_df ( self , df : pd . DataFrame ) : self . datasets [ self . data [ "name" ] ] = df . to_dict ( "records" ) return self
take a new df and update the chart
take a new df and update the chart
"""
        take a new df and update the chart
        """
self
df
pd.DataFrame