반응형
Pandas .Series 의 item , to_CSV
pandas.Series.items
s = pd.Series(['A', 'B', 'C'])
>>> for index, value in s.items():
... print(f"Index : {index}, Value : {value}")
Index : 0, Value : A
Index : 1, Value : B
Index : 2, Value : C
https://github.com/pandas-dev/pandas/blob/v1.4.1/pandas/core/series.py#L1662-L1689
반응형