Skip to content

Instantly share code, notes, and snippets.

@deanjamesss
Last active February 2, 2021 08:37
Show Gist options
  • Select an option

  • Save deanjamesss/dd606f5444e0d647d480c2e6b63492e1 to your computer and use it in GitHub Desktop.

Select an option

Save deanjamesss/dd606f5444e0d647d480c2e6b63492e1 to your computer and use it in GitHub Desktop.
import pandas as pd
# Cast columns 0 & 1 to name & age,
df = pd.read_csv('read_csv_names.csv', header=0, names=['name', 'age'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment