Skip to content

Instantly share code, notes, and snippets.

@jeetaf
Created June 28, 2021 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeetaf/385fc9b24fbc6abb7faab345d4f13720 to your computer and use it in GitHub Desktop.
Save jeetaf/385fc9b24fbc6abb7faab345d4f13720 to your computer and use it in GitHub Desktop.
column_names = ['MPG','Cylinders','Displacement','Horsepower','Weight',
'Acceleration', 'Model Year', 'Origin']
raw_dataset = pd.read_csv(dataset_path, names=column_names,
na_values = "?", comment='\t',
sep=" ", skipinitialspace=True)
dataset = raw_dataset.copy()
dataset.tail()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment