Skip to content

Unable to print pandas dataframe #65

@oroppas

Description

@oroppas
import pandas as pd
df = pd.read_csv('data.csv')
print(df)
<class 'pandas.core.frame.DataFrame'>
Traceback (most recent call last):
  File "read_csv.py", line 6, in <module 'read_csv.py'>
  File "base.py", line 51, in __str__
  File "frame.py", line 585, in __unicode__
  File "frame.py", line 1529, in to_string
  "/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py", line 584, in to_string
  "/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py", line 495, in _to_str_columns
  "/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py", line 795, in _get_formatted_index
  "/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py", line 795, in _get_formatted_index.<locals>.<genexp>:/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py:795
  "/home/ryutas/.local/lib/python3.7/site-packages/pandas-0.20.3-py3.7-linux-x86_64.egg/pandas/io/formats/format.py", line 2238, in _make_fixed_width
java.lang.ClassCastException: com.oracle.graal.python.builtins.objects.cext.PythonAbstractNativeObject cannot be cast to java.lang.Boolean

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions