Open FlorinAndrei opened 1 year ago
Thank you for mentioning this! I have not seen this error before. Does this happen because your machine (or server) does not have writing rights to disk?
No, there are several libraries impacted by this bug. Perhaps your library is just triggering it in a downstream library, I'm not sure.
Anyway, pd.options.mode.copy_on_write = True
seems to trigger some kind of bug in Seaborn and other libs. I am simply reporting it where I see it. Copy on write is a very useful feature, recently introduced in Pandas, and I would prefer to be able to keep it enabled without having issues with various libraries out there.
Good to know! Thanks!
Python 3.11.4 Pandas 2.0.3 pca 2.0.3
Code:
Results:
Fixed code (no errors):