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
set_index
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
import modin.pandas as pd import numpy as np import pdb;pdb.set_trace() df = pd.DataFrame(np.ones([2,4]),columns = [['a','b','c','d'],['','','x','y']]) print(df.set_index('a')) print(df._to_pandas().set_index('a'))
Wrong output from the first print:
a b c d x y (d, y) 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
Expected output (from the second print):
b c d x y a 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
Replace this line with the error backtrace (if applicable).
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered:
FIX-modin-project#5186: set_index case with multiindex
f4c6d09
Signed-off-by: Myachev <anatoly.myachev@intel.com>
FIX-#5186: set_index case with multiindex (#5190)
269ce44
e6aa2cb
anmyachev
Successfully merging a pull request may close this issue.
Modin version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
Reproducible Example
Issue Description
Wrong output from the first print:
Expected Behavior
Expected output (from the second print):
Error Logs
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: