-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
'sort_index"does not work with 'pd.set_option('mode.use_inf_as_na',True)' #29687
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
Can you provide a reproducible example, including the code to create the dataframe?: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports |
closing as can't reproduce |
Bumped into the same problem @simonjayhawkins import pandas as pd d = {'col1': [1, 2, 3], 'col2': [3, 4, 5]} try: pd.set_option('use_inf_as_na', True) try: Produces: |
Thanks @annhak . You code sample raises on 0.25.3, but appears to be working on 1.0.5 and master. will reopen for now with needs tests label but will also add closing candidate if it can be determined which commit fixed this and whether appropriate tests were added. |
Hi @simonjayhawkins, I would love to contribute to this issue, Please let me know if I may :) |
Hi Guys I will start doing this. |
@TomAugspurger @simonjayhawkins @annhak @asmcat666 |
The text was updated successfully, but these errors were encountered: