목록unique (1)
nada
[Python] Series 유니크 값
Reference Pandas In Action 1. 유니크값 import pandas as pd calories_info = { 'Protein Bar' : 125, 'Salade' : 215, 'Chocolate Bar' : 406, 'Chicken Breast' : 125 } diet = pd.Series(calories_info) diet Protein Bar 125 Salade 215 Chocolate Bar 406 Chicken Breast 125 dtype: int641-1. 유니크 값의 개수를 포함하는 Series 반환 :: Series.value_counts( ) Series.value_counts( sort = True, # Tr..
Python/Pandas
2023. 8. 16. 13:20