Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created March 11, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Celia-code/5044dd6a5daf3f1346796d4300726a88 to your computer and use it in GitHub Desktop.
Save Celia-code/5044dd6a5daf3f1346796d4300726a88 to your computer and use it in GitHub Desktop.
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