-
添加历史数据查看全部
-
为图添加刻度查看全部
-
numpy arry 与 python list 对比查看全部
-
numpy arry特性查看全部
-
包的安装查看全部
-
获取行 brics.loc["BR"] 获取列 brics.country brics["country"]查看全部
-
import pandas as pd brics = pd.read_csv("path/to/brics.csv",index_col = 0)查看全部
-
import matplotlib.pyplot as plt year = [1950, 1978, 1990, 2010] pop = [2.519, 3.692, 5.263,6.972] population = [1.0, 1.262, 1.650] + pop year = [1800,1850,1900] + year plt.fill_between(year, population, 0, color='green') plt.xlabel('Year') plt.ylabel('Population') plt.title('World Population Projections') plt.yticks([0, 2, 4, 6, 8, 10], ['0', '2B', '4B', '6B', '8B', '10B']) plt.show()查看全部
-
plt.fill_between(year, population, 0, color='green')查看全部
-
plt.scatter(year, pop) 散点图 plt.hist(values,bins=3) 柱形图 plt.plot(year, pop) 线形图查看全部
-
python list的切割 [起点:终点] 包含起点,不包含终点查看全部
-
不同类型的“对象”对应不同的“方法”查看全部
-
import matplotlib.pyplot as plt plt.scatter() plt.hist() plt.plot() plt.show()查看全部
-
元素获取查看全部
-
行的获取查看全部
举报
0/150
提交
取消