Notice
Recent Posts
Recent Comments
Link
250x250
목록DataFrame (1)
develope_kkyu
[Python] pandas 예제 - 1
https://pandas.pydata.org/docs/user_guide/10min.html에 나와 있는 pandas 예제 코드를 살펴본다. import pandas as pd import numpy as np 객체 생성 Series s = pd.Series([1, 3, 5, np.nan, 6, 8]) s Out: 0 1.0 1 3.0 2 5.0 3 NaN 4 6.0 5 8.0 dtype: float64 DataFrame dates = pd.date_range("20130101", periods=6) # 20130101 ~ 20130106의 범위 dates Out: DatetimeIndex(['2013-01-01', '2013-01-02', '2013-01-03', '2013-01-04', '2013-..
Python
2022. 12. 30. 12:37