[Python] Series 값의 유형 :: Series.dtype
Series 값의 유형 :: Series.dtype
Reference
Pandas In Actionimport pandas as pd
calories_info = {
'Protein Bar' : 125,
'Salade' : 215,
'Chocolate Bar' : 406,
}
diet = pd.Series(calories_info)
diet
Protein Bar 125
Salade 215
Chocolate Bar 406
dtype: int64
diet.dtype # diet의 값 데이터 유형
dtype('int64')