Pandas
Pandas (5)
알 수 없는 사용자
2022. 7. 25. 20:43
728x90
How to assign name to the series’ index?
# Input
ser = pd.Series(list('abcedfghijklmnopqrstuvwxyz'))
# Solution
ser.name = 'alphabets'
ser.head()