Created
May 27, 2022 19:33
-
-
Save esenthil2018/717a5f4d079d0f8e1a083b279aa4867d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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