我在python3中有一个dataframe,它看起来像
>>> df_people
name Information 1 Information 2
0 P1 [20, 21] [50, 52]
1 P2 [30, 20] [52, 55]
2 P3 [25, 33] [60, 54]
people = {"name":["P1", "P2", "P3"],"Information 1":[[20, 21],[30, 20],[25,33]],"Information 2":[[50, 52],[52, 55],[60,54]]}
df_people= pd.DataFrame(people)
df_people
现在,如果我打电话
df_people.info()
我得到:
>>> df_people.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 3 entries, 0 to 2
Data columns (total 3 columns):
name 3 non-null object
Information 1 3 non-null object
Information 2 3 non-null object
dtypes: object(3)
memory usage: 152.0+ bytes
non-null object
我很担心。它应该报告别的什么吗?