Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created Mar 11, 2020
Embed
What would you like to do?
This is for pandas
#建立Series
data = pd.Series([10, 15, 20])
print("最大值", data.max())
print("中位數", data.median())
#打印出
"""
最大值 20
中位數 15.0
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment