Series 자료형의 index와 value 값을 가지고 2차원의 평면에 꺾은 선 그래프를 그려본다. 여기에서 x축은 index, y축은 value 값이 된다. 우선 기초로 쓸 Series값들을 만든다. import pandas as pd s = pd.Series([0.0, 3.6, 2.0, 5.8 ,4.2, 8.0 ,5.5, 6.7, 4.2]) s.index = pd.Index([0.0, 1.2, 1.8, 3.0, 3.6, 4.8, 5.9, 6.8, 8.0]) s.index.name = "My_IDX" s.name = "My_Series" My_IDX 0.0 0.0 1.2 3.6 1.8 2.0 3.0 5.8 3.6 4.2 4.8 8.0 5.9 5.5 6.8 6.7 8.0 4.2 Name: My_Seri..
##판다스 Series와 파이썬 list의 차이점 https://discuss.analyticsvidhya.com/t/what-is-the-difference-between-pandas-series-and-python-lists/27373 1. series는 벡터에 대한 연산을 하지만 list는 백터에 대한 연산을 하지 않는다. #리스트에 대한 표시 list_var = [1,2,3,4,5] list_var*2 Out[3]: [1, 2, 3, 4, 5, 1, 2, 3, 4, 5] #Series에 대한 표시 Series_var=pd.Series([1,2,3,4,5]) Series_var*2 Out[7]: 0 2 1 4 2 6 3 8 4 10 dtype: int64 2. 판다스 Series는 문자로 인덱싱을 ..