Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import pandas as pd
  2. df = pd.read_csv("docs/test_file.csv")
  3. print(df["id"].info())
  4.  
  5. df["id"] = df["id"].astype('Int64')
  6. print(df["id"].info())
  7.  
  8. df.to_parquet("output/test.parquet")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement