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