lux-org / lux

Automatically visualize your pandas dataframe via a single print! 📊 💡
Apache License 2.0
5.15k stars 365 forks source link

[BUG] to_datetime warning displayed multiple times #370

Closed dorisjlee closed 3 years ago

dorisjlee commented 3 years ago

Describe the bug When a dataset with temporal column is loaded, the warning for to_datetime is displayed multiple times. This seems to be happening because the maintain_metadata is being called on all the vis.data, which is not the intended behavior.

To Reproduce

df = pd.read_csv("https://raw.githubusercontent.com/lux-org/lux-datasets/master/data/stocks.csv")
df

image

dorisjlee commented 3 years ago

Error caused by vis.data.clear_intent() fixed in #389