百度aistudio入门hello world

测试一下
numpy
pandas
matplotlib

# numpy hello world
import numpy as np
x = np.array([0,1,2,3,4,5,6])
print(x)

# pandas hello world
import pandas as pd

a = pd.Series([1,2,3,4,5]);
a

# matplotlib hello world
import matplotlib.pyplot as plt

# 1.创建画布
plt.figure(figsize=(10,10),dpi=100)

# 2.绘制拆线图
plt.plot([1,2,3,4,5,6,7],[17,17,18,15,11,11,13])

# 3.显示图像
plt.show()

发表评论

邮箱地址不会被公开。 必填项已用*标注