Note
Pandas (5) 본문
728x90
How to assign name to the series’ index?
# Input
ser = pd.Series(list('abcedfghijklmnopqrstuvwxyz'))
# Solution
ser.name = 'alphabets'
ser.head()
'Pandas' 카테고리의 다른 글
Pandas (7) (0) | 2022.07.27 |
---|---|
Pandas (6) (0) | 2022.07.26 |
Pandas (4) (0) | 2022.07.24 |
Pandas (3) (0) | 2022.07.20 |
Pandas (2) (0) | 2022.07.19 |
Comments