-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLN: replace %s syntax with .format in pandas.core: categorical, common, config, config_init #17735
Conversation
…on, config, config_init Replaced %s syntax with .format in pandas.core: categorical.py, common.py, config.py, config_init.py. Additionally, made some of the existing positional .format code more explicit.
569d144
to
687be9a
Compare
Codecov Report
@@ Coverage Diff @@
## master #17735 +/- ##
==========================================
- Coverage 91.23% 91.23% -0.01%
==========================================
Files 163 163
Lines 49796 49813 +17
==========================================
+ Hits 45430 45445 +15
- Misses 4366 4368 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #17735 +/- ##
==========================================
- Coverage 91.23% 91.2% -0.03%
==========================================
Files 163 163
Lines 49796 49813 +17
==========================================
+ Hits 45430 45433 +3
- Misses 4366 4380 +14
Continue to review full report at Codecov.
|
thanks @jschendel |
* 'master' of github.com:pandas-dev/pandas: (188 commits) Separate out _convert_datetime_to_tsobject (pandas-dev#17715) DOC: remove whatsnew note for xref pandas-dev#17131 BUG: Regression in .loc accepting a boolean Index as an indexer (pandas-dev#17738) DEPR: Deprecate cdate_range and merge into bdate_range (pandas-dev#17691) CLN: replace %s syntax with .format in pandas.core: categorical, common, config, config_init (pandas-dev#17735) Fixed the memory usage explanation of categorical in gotchas from O(nm) to O(n+m) (pandas-dev#17736) TST: add backward compat for offset testing for pickles (pandas-dev#17733) remove unused time conversion funcs (pandas-dev#17711) DEPR: Deprecate convert parameter in take (pandas-dev#17352) BUG:Time Grouper bug fix when applied for list groupers (pandas-dev#17587) BUG: Fix some PeriodIndex resampling issues (pandas-dev#16153) BUG: Fix unexpected sort in groupby (pandas-dev#17621) DOC: Fixed typo in documentation for 'pandas.DataFrame.replace' (pandas-dev#17731) BUG: Fix series rename called with str altering name rather index (GH17407) (pandas-dev#17654) DOC: Add examples for MultiIndex.get_locs + cleanups (pandas-dev#17675) Doc improvements for IntervalIndex and Interval (pandas-dev#17714) BUG: DataFrame sort_values and multiple "by" columns fails to order NaT correctly Last of the timezones funcs (pandas-dev#17669) Add missing file to _pyxfiles, delete commented-out (pandas-dev#17712) update imports of DateParseError, remove unused imports from tslib (pandas-dev#17713) ...
…on, config, config_init (pandas-dev#17735) Replaced %s syntax with .format in pandas.core: categorical.py, common.py, config.py, config_init.py. Additionally, made some of the existing positional .format code more explicit.
…on, config, config_init (pandas-dev#17735) Replaced %s syntax with .format in pandas.core: categorical.py, common.py, config.py, config_init.py. Additionally, made some of the existing positional .format code more explicit.
Progress towards #16130
git diff upstream/master -u -- "*.py" | flake8 --diff
Replaced
%s
syntax with.format
in pandas.core:categorical.py
,common.py
,config.py
,config_init.py
. Additionally, made some of the existing positional.format
code more explicit.