Skip to content

Time to set pd.set_option('precision', 2) to `pd.set_option('display.precision', 2)? #172

@matthew-brett

Description

@matthew-brett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions