Skip to content

Instantly share code, notes, and snippets.

@Eserthesay
Created May 22, 2020 19:34
Show Gist options
  • Save Eserthesay/8e846ec38a90484a548c6491c797f790 to your computer and use it in GitHub Desktop.
Save Eserthesay/8e846ec38a90484a548c6491c797f790 to your computer and use it in GitHub Desktop.
import pandas as pd
desc=open(r"abalone_names.txt")
print(desc.read())
df = pd.read_csv('https://query.data.world/s/is7jwu2tdgeqqxho53vrsq5bhjmf7d',header=None)
df.head()
columns=['Sex','Length','Diameter','Height','Whole weight','Shucked weight','Viscera weight','Shell weight','Rings']
df.columns=columns
df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment