Skip to content

Instantly share code, notes, and snippets.

@firstfu
Last active May 1, 2019 14:30
Show Gist options
  • Save firstfu/3744cb1a7d325eb43727952601a4a9d0 to your computer and use it in GitHub Desktop.
Save firstfu/3744cb1a7d325eb43727952601a4a9d0 to your computer and use it in GitHub Desktop.
# 變更欄位型態
df['allN'] = df['allN'].astype(np.str)
predicts['預測號碼1'] = predicts['預測號碼1'].astype(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment