파이썬 그림 그리는 방법 썸네일형 리스트형 TimeSeries with Python _ Pandas 4 _plot 이번 포스팅에서는 Pandas로 그림을 그리는 메소드인 plot에 대해서 살펴본다. plot을 이용해 Pandas의 그림을 그리고, 다양한 변수들을 이용해 그림을 꾸미는것을 살펴본다 df = pd.read_csv(path, index_col = "Date", parse_dates=True) #%% Plot Formatting title = "Starbucks Closing Stock Prices" ylabel = 'Closing Price' xlabel = 'Closing Date' ax = df['Close'].plot(figsize=(12,5)) # ax로 변수를 선언해도 plot이 실행된다 ax.autoscale(axis='x', tight=True) ax.set(xlabel = xlabel, yl.. 더보기 이전 1 다음