分别print(Dataframe['A'])和print(Dataframe[['A']]):
print(Dataframe['A']):
0 A1
... ...
name: A, Length: ... , dtype: ...
#########################
print(Dataframe[['A']]):
A
0 A1
... ...
[100 rows X 1 columns]
分别print(Dataframe['A'])和print(Dataframe[['A']]):
print(Dataframe['A']):
0 A1
... ...
name: A, Length: ... , dtype: ...
#########################
print(Dataframe[['A']]):
A
0 A1
... ...
[100 rows X 1 columns]