Skip to content

Instantly share code, notes, and snippets.

df某一列从bool类型转为整型
df.somecolumn = df.somecolumn.astype(int)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment