1. 데이터는 내가 직접 생산한 데이터

2. txt파일을 cvs로 읽고 공백 단위로 나누어 읽기 / 축 디테일 설정하기

[참고]
https://stackoverflow.com/questions/19632075/how-to-read-file-with-space-separated-values-in-pandas
How to read file with space separated values in pandas
I try to read the file into pandas. The file has values separated by space, but with different number of spaces I tried: pd.read_csv('file.csv', delimiter=' ') but it doesn't work
stackoverflow.com
2-1. Data.Frame을 plot할 때 적절하게 xticks 나누기
https://junglow9.tistory.com/72
[pandas] 그래프 x축 날짜 간격이 너무 촘촘한 경우.
pandas로 데이터 시각화 할 때 데이터가 너무 많은 경우 x축에 출력되는 라벨이 너무 촘촘해지는 경우가 있습니다. 이렇게 몇년치 데이터를 가져와서 그래프를 만들면 x축이 너무 촘촘해 집니다.
junglow9.tistory.com
2-2. Data.Frame을 plot할 때 label 사이즈 바꾸기
https://stackoverflow.com/questions/59559682/how-to-change-pandas-dataframe-plot-fontsize-of-xlabel
How to change pandas DataFrame.plot fontsize of xlabel?
I'm trying to plot a figure by pandas. The font of other text could be set. But xlabel couldn't be set. ax3 couldn't use axes.set_xlabel() parameter. I also try ax.set_fontsize() or plt.rcParams.
stackoverflow.com
'Python[시각화3_pyplot_Pandas]' 카테고리의 다른 글
pyplot - 눈금 이름바꾸기, 그림 비율 바꾸기 (0) | 2023.03.01 |
---|