Skip to content

Instantly share code, notes, and snippets.

@esenthil2018
Created May 27, 2022 19:33
Show Gist options
  • Save esenthil2018/717a5f4d079d0f8e1a083b279aa4867d to your computer and use it in GitHub Desktop.
Save esenthil2018/717a5f4d079d0f8e1a083b279aa4867d to your computer and use it in GitHub Desktop.
url = 'http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.data'
column_names = ['MPG', 'Cylinders', 'Displacement', 'Horsepower', 'Weight',
'Acceleration', 'Model Year', 'Origin']
raw_dataset = pd.read_csv(url, names=column_names,
na_values='?', comment='\t',
sep=' ', skipinitialspace=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment