-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Fix na_rep when using pd.NA in _format_strings (#33950) #34565
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
Conversation
@k-fillmore thanks for the contribution! Does this keep the correct Further, can you add a test for this? |
Hi, @jorisvandenbossche Doesn't appear to retain the "" representation. I've added an additional expression to address this. Working on tests. |
Hello @k-fillmore! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-06-05 22:52:41 UTC |
@jorisvandenbossche added tests. Don't really like the leading whitespace that I had to add. But that's how they're being passed back from GenericArrayFormatter. I tried to track down where they're coming from but didnt have much luck. Any ideas? |
Just want to follow up on this. Do I need to add anything else? |
#33950 (comment) noted that this affects NaT too. Can you fix that here or open a second issue? |
Can you also merge master and re-push. I don't know why CI failed last time. We also need a release note in whatsnew/1.2.0.rst. |
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
Noted, working on NaT here. Will do a merge master and add change logs as requested. |
* Update parsers.py DOC: Added docstring for storage_options GH36361 * Update parsers.py DOC: Added docstring for storage_options GH36361 * Update parsers.py removed trailing whitespace
Noticed a minor typo when using the docs
* REF: extract func _select_upcast_cls_from_dtype * REF: extract function _get_upcast_classes * CLN: rename g -> common_dtype * TYP: type extracted functions * DOC: add docstrings to extracted methods * TYP: cast instead of ignoring mypy error * CLN: import SparseDtype only for type checking
* ENH: match stdlib behavior for datetimelike comparisons * update test Co-authored-by: Jeff Reback <jeff@reback.net>
* CI: Update error message for np_dev * Comma * Fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@k-fillmore are you interested in continuing? If yes merge master (looks like you have merge issues atm) and we'll take another look
Closing for now. @k-fillmore let us know whenever you'd like to continue and we'll reopen! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff