반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- math
- hive
- Google Excel
- Github
- array
- Java
- PySpark
- Redshift
- numpy
- matplotlib
- google apps script
- GIT
- gas
- PostgreSQL
- Excel
- c#
- Kotlin
- string
- Apache
- SQL
- dataframe
- list
- PANDAS
- Tkinter
- 파이썬
- Google Spreadsheet
- Python
- django
- Mac
Archives
- Today
- Total
목록hist (1)
달나라 노트

히스토그램(Histogram)이란 x축을 값, y축은 x축의 값들이 나온 횟수(또는 개수)를 나타낸 그래프입니다. 여기서 x축을 계급, 횟수나 개수를 나타내는 y축을 도수라고 하는데 크게 중요하진 않습니다. matplotlibe의 hist method는 이러한 histogram을 그릴 수 있도록 해줍니다. import matplotlib.pyplot as plt value_list = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10] plt.hist(value_list) plt.xlabel('number') plt.ylabel('count') plt.show() 위 예시..
Python/Python matplotlib
2022. 1. 23. 00:39