Skip to content

Instantly share code, notes, and snippets.

@p-acDev
Last active October 17, 2021 18:18
Show Gist options
  • Select an option

  • Save p-acDev/660d68b6003072ed0d50ab5204ac7161 to your computer and use it in GitHub Desktop.

Select an option

Save p-acDev/660d68b6003072ed0d50ab5204ac7161 to your computer and use it in GitHub Desktop.
Comment formater un DataFrame pour le ML
df = df.unstack().reset_index()
df.columns = ["t", "z", "target"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment