点击运行
import pandas as pd import numpy as np #使用 4 个随机数创建一个Series s = pd.Series(np.random.randn(4)) print ("The size of the object:") print(s.size)
运行结果 :
正在执行...