If a user converts a Pandas DataFrame with a string column to a table with deephaven.pandas.to_table, the resultant column in the Deephaven table is of type org.jpy.PyObject instead of String.
Steps to reproduce
Create a DataFrame with a single string column:
import pandas as pd
df = pd.DataFrame({"Col1": ["A", "B", "C"]})
Convert it to Deephaven with to_table
from deephaven.pandas import to_table
t = to_table(df)
Hover over Col1 in the table or use meta_table to see the column type:
t_meta = t.meta_table
The type of Col1 is org.jpy.PyObject when it should be String.
Expected results
A String column.
Actual results
A PyObject column.
Additional details and attachments
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Versions
Deephaven: latest (0.26.0), but reported with 0.24.x
Description
If a user converts a Pandas DataFrame with a string column to a table with
deephaven.pandas.to_table
, the resultant column in the Deephaven table is of typeorg.jpy.PyObject
instead ofString
.Steps to reproduce
to_table
Col1
in the table or usemeta_table
to see the column type:The type of
Col1
isorg.jpy.PyObject
when it should beString
.Expected results
A String column.
Actual results
A PyObject column.
Additional details and attachments
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Versions