Open matthew-brett opened 8 months ago
I noticed a couple of places at least where y'all have:
pd.set_option('precision', 2)
or equivalent - see e.g.:
https://ds.lis.2i2c.cloud/hub/user-redirect/git-pull?repo=https%3A//github.com/lisds/ds-100-sql&subPath=content/ch/07/sql_exercises.ipynb)
With current Pandas, this gives:
OptionError: Pattern matched multiple keys
I assume you intend this to mean display.precision instead of styler.format.precision? But in either case, is now the time to specify the option explicitly? Happy to make a PR if so.
display.precision
styler.format.precision
Yup, we were using an older version of pandas while working on the book, and we should update our option key here.
pandas
I noticed a couple of places at least where y'all have:
or equivalent - see e.g.:
https://ds.lis.2i2c.cloud/hub/user-redirect/git-pull?repo=https%3A//github.com/lisds/ds-100-sql&subPath=content/ch/07/sql_exercises.ipynb)
With current Pandas, this gives:
I assume you intend this to mean
display.precision
instead ofstyler.format.precision
? But in either case, is now the time to specify the option explicitly? Happy to make a PR if so.