-
-
Save Celia-code/5044dd6a5daf3f1346796d4300726a88 to your computer and use it in GitHub Desktop.
This is for pandas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#建立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