-
添加歷史數(shù)據(jù)查看全部
-
為圖添加刻度查看全部
-
numpy arry 與 python list 對(duì)比查看全部
-
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) 散點(diǎn)圖 plt.hist(values,bins=3) 柱形圖 plt.plot(year, pop) 線形圖查看全部
-
python list的切割 [起點(diǎn):終點(diǎn)] 包含起點(diǎn),不包含終點(diǎn)查看全部
-
不同類型的“對(duì)象”對(duì)應(yīng)不同的“方法”查看全部
-
import matplotlib.pyplot as plt plt.scatter() plt.hist() plt.plot() plt.show()查看全部
-
元素獲取查看全部
-
行的獲取查看全部
舉報(bào)
0/150
提交
取消