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 | 31 |
Tags
- PANDAS
- break
- Text Analytics
- error
- SQL
- start exercise
- pie charts
- data distribution
- line color
- Github
- variables
- continue
- MySQL
- matplotlib.pyplot
- machine learning
- PROJECT
- iterates
- For loops
- __init__
- polynomial regression
- Text mining
- train/test
- matplotlib
- Else
- Python
- multiple lines
- Default X points
- AS
- line width
- self parameter
Archives
- Today
- Total
목록pie charts (1)
Data Science Explorer

Creating Pie Charts You can use the pie() function to draw pie charts Example import matplotlib.pyplot as plt import numpy as np y = np.array ([3, 6, 7, 1]) plt.pie(y) plt.show() Result Labels The label parameter must be an array with one label for each wedge. import matplotlib.pyplot as plt import numpy as np y = np.array([35, 25, 25, 15]) mylabels = ["Apples", "Bananas", "Cherries", "Dates"] p..
Python
2023. 11. 11. 21:12