Files
stand/utils/utils.py
2022-05-22 21:52:57 +02:00

10 lines
230 B
Python

def make_key(df):
"""
encode the dataframe's column names into a key,
this triggers a hard reload (like F5) of the AgGrid if the columns change
"""
return "stand:" + "+".join(str(col) for col in df.columns)