티스토리 뷰
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%config InlineBackend.figure_format='retina'
dict_a = {'a': 1, 'b': 2, 'c': 3}
srs_a = pd.Series(dict_a)
srs_a.plot(kind='bar')
plt.show()
'Programming' 카테고리의 다른 글
python dictionary로 pandas dataframe 생성하기 (0) | 2021.01.21 |
---|---|
python list로 pandas dataframe 생성하기 (0) | 2021.01.21 |
pandas series value 확인하기 (0) | 2021.01.20 |
pandas series index 생성하기 (0) | 2021.01.20 |
pandas series를 list와 dictionary로 변환하기 (0) | 2021.01.20 |
최근에 올라온 글
글 보관함
- Total
- Today
- Yesterday