Last active
April 23, 2019 03:59
-
-
Save firstfu/049c0a636b9abd8205a01c745644a45f to your computer and use it in GitHub Desktop.
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
# 排序欄位值 | |
df.sort_values('periods') | |
# 重新排序欄位順序 | |
orderCol = ['ballDate', 'periods', 'ballN1', 'ballN2', 'ballN3', 'allN'] | |
df = df[orderCol] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment