-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TypeError in pandas._libs.tslibs.period._ordinal_from_fields #22067
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
Comments
Hmm strange indeed. Thanks for the report - investigation and PRs are always welcome! |
I couldn't replicate the error. This error message doesn't appear when I run it. |
@mosrosem just to be clear it's not actually throwing the error (at least for me) but rather printing to STDOUT and continuing along as planned. If it's not doing for you can you post your |
It looks like you've stumbled on something genuinely weird. @WillAyd any idea who to CC on this? Update Actually not such a mystery, just weird.
|
@jbrockmendel I was thinking of CC'ing you :-) looks like you might be on to something |
Using pandas
0.23.3
I receive aTypeErorr
when running the following code:Oddly, enough the operation succeeds, months has the correct data.
Expected Output
I would expect no output to stderr or stdout, just the correct assignment of the map operation. This is more of an annoyance than anything else.
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: