I would like to know if a pandas.DataFrame
was modified or not.
One idea is to create a hash value for the whole data frame.
# Credits: https://stackoverflow.com/a/62754084/4865723
hashlib.sha1(pd.util.hash_pandas_object(df).values).hexdigest()
But I wonder if there might be another way doing this. Any ideas?
Top comments (0)