You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kogolobo opened this issue
Sep 17, 2022
· 1 comment
Labels
bug 🦗Something isn't workingExternalPull requests and issues from people who do not regularly contribute to modinP2Minor bugs or low-priority feature requests
When trying to read a file (below) that does not have a header for all columns, and force index column off, I cannot access the data due to the error below.
Vanilla pandas allows me to access the data, truncating the columns for which the header is not available. It would be great if Modin could implement parity behavior.
Error Logs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrapreturn method(*args, **kwargs)
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\pandas\dataframe.py", line 216, in __repr__
result =repr(self._build_repr_df(num_rows, num_cols))
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrapreturn method(*args, **kwargs)
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\pandas\base.py", line 203, in _build_repr_dfreturnself.iloc[indexer]._query_compiler.to_pandas()
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrapreturn method(*args, **kwargs)
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\core\storage_formats\pandas\query_compiler.py", line 259, in to_pandasreturnself._modin_frame.to_pandas()
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrapreturn method(*args, **kwargs)
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\core\dataframe\pandas\dataframe\dataframe.py", line 115, in run_f_on_minimally_updated_metadata
result = f(self, *args, **kwargs)
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\core\dataframe\pandas\dataframe\dataframe.py", line 2841, in to_pandas
ErrorMessage.catch_bugs_and_request_email(
File "D:\Users\kogolobo\Miniconda3\envs\cv2\lib\site-packages\modin\error_message.py", line 70, in catch_bugs_and_request_emailraiseException(
Exception: Internal Error. Please visit https://github.com/modin-project/modin/issues to file an issue with the traceback and the command that caused this error. If you can't file a GitHub issue, please email bug_reports@modin.org.
Internal and external indices on axis 0 do not match.
bug 🦗Something isn't workingExternalPull requests and issues from people who do not regularly contribute to modinP2Minor bugs or low-priority feature requests
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
When trying to read a file (below) that does not have a header for all columns, and force index column off, I cannot access the data due to the error below.
CSV file:
Expected Behavior
Vanilla pandas allows me to access the data, truncating the columns for which the header is not available. It would be great if Modin could implement parity behavior.
Error Logs
Installed Versions
pandas : 1.4.4
numpy : 1.23.1
pytz : 2022.1
dateutil : 2.8.2
setuptools : 63.4.1
pip : 22.1.2
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.9.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : 8.5.0
pandas_datareader: None
bs4 : 4.11.1
bottleneck : 1.3.5
brotli : None
fastparquet : None
fsspec : 2022.8.2
gcsfs : None
markupsafe : 2.1.1
matplotlib : None
numba : None
numexpr : 2.8.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 9.0.0
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : None
snappy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
zstandard : None
The text was updated successfully, but these errors were encountered: