You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish that I could use dict for pd.set_option, just like other packages typically accept dict when there are lots of option. Current pandas style follow what old programming language do, such as MATLAB.
Feature Description
importpandasaspdoptions= {
'display.precision': 2,
'display.max_columns': 100,
'styler.format.precision': 2,
}
# like thispd.set_option(**options)
# or like this:pd.set_option(options)
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
I wish that I could use dict for
pd.set_option
, just like other packages typically accept dict when there are lots of option. Current pandas style follow what old programming language do, such as MATLAB.Feature Description
Alternative Solutions
Current implementations is:
Additional Context
Because if I write it like this:
An auto formatter like
ruff
will make it into:The text was updated successfully, but these errors were encountered: