Skip to content

Instantly share code, notes, and snippets.

@pbabbott
Created October 16, 2019 05:04
Show Gist options
  • Save pbabbott/8005db9d786d3e87b130a21bbc059da6 to your computer and use it in GitHub Desktop.
Save pbabbott/8005db9d786d3e87b130a21bbc059da6 to your computer and use it in GitHub Desktop.
import pandas as pd
data = [['Alex',10],['Bob',12],['Clarke',13]]
df = pd.DataFrame(data,columns=['Name','Age'],dtype=float)
print (df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment