Files
openide/python/testData/debug/test_dataframe_tuple.py
Nikolay.Smirnov 1860429bea IDEA-CR-64981: [PyCharm] PY-28279 Add test with tuples in DataViewer
GitOrigin-RevId: a8cac87bb5b75e063cb3cef8999cb0f68d003d11
2020-07-14 12:15:03 +00:00

7 lines
200 B
Python

import pandas as pd
df1 = pd.DataFrame({'first': [0, 1, 2],
'second': [{1: (1, 2)}, {2: (3,)}, {4: 5}],
'third': [(1, 2, 3), (), (4,)]})
print(df1) ###line 6