Created
October 18, 2017 06:25
-
-
Save zhangpengGenedock/eb3227b29a91784d4adbba95306345b9 to your computer and use it in GitHub Desktop.
df某一列从bool类型转为整型
This file contains hidden or 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.somecolumn = df.somecolumn.astype(int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment