h2oai / datatable

A Python package for manipulating 2-dimensional tabular data structures
https://datatable.readthedocs.io
Mozilla Public License 2.0
1.81k stars 155 forks source link

`.type` and `.types` frame's attributes do not work properly in notebooks #3465

Open oleksiyskononenko opened 1 year ago

oleksiyskononenko commented 1 year ago

When a notebook cell contains the following code

DT = dt.Frame([1,2,3])
DT.type

it outputs

<datatable.datatable.Type at 0x7d03abe37380>

The same code, when executed directly in python, works as expected

>>> DT = dt.Frame([1,2,3])
>>> DT.type
Type.int32

.types behaves exactly the same.