We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Modin
import modin.pandas as pd df = pd.DataFrame({'month': [1, 4, 7, 10], 'year': [2012, 2014, 2013, 2014], 'sale': [55, 40, 84, 31]}) df.set_index("inexistent_col") month year sale sale 55 1 2012 55 40 4 2014 40 84 7 2013 84 31 10 2014 31
pandas
import pandas df = pandas.DataFrame({'month': [1, 4, 7, 10], 'year': [2012, 2014, 2013, 2014], 'sale': [55, 40, 84, 31]}) df.set_index("inexistent_col") KeyError: "None of ['inexistent_col'] are in the columns"
The text was updated successfully, but these errors were encountered:
FIX-modin-project#4308: Add proper error handling in df.set_index
05a33a1
Signed-off-by: Igoshev, Yaroslav <yaroslav.igoshev@intel.com>
FIX-#4308: Add proper error handling in df.set_index (#4309)
b24116b
9670c1c
YarShev
Successfully merging a pull request may close this issue.
Modin
pandas
The text was updated successfully, but these errors were encountered: