Skip to content

Instantly share code, notes, and snippets.

@oscar-defelice
Created November 4, 2020 08:25
Show Gist options
  • Save oscar-defelice/7d434ffeff6feda4484994620829a100 to your computer and use it in GitHub Desktop.
Save oscar-defelice/7d434ffeff6feda4484994620829a100 to your computer and use it in GitHub Desktop.
import pandas as pd
train_data = pd.read_csv('train.csv', engine='python', encoding='utf-8', header = None, names=['Class Index', 'Title', 'Text'])
test_data = pd.read_csv('test.csv', engine='python', encoding='utf-8', header = None, names=['Class Index', 'Title', 'Text'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment