Skip to content

Instantly share code, notes, and snippets.

@hadifar
Created November 12, 2018 20:59
Show Gist options
  • Save hadifar/05c28498016f9fe9d35d1a97e9cc1e57 to your computer and use it in GitHub Desktop.
Save hadifar/05c28498016f9fe9d35d1a97e9cc1e57 to your computer and use it in GitHub Desktop.
# change label-sentence to sentence-label
csv_dataset = csv_dataset.map(lambda x, y: (y, x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment