Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- df = pd.read_csv("docs/test_file.csv")
- print(df["id"].info())
- df["id"] = df["id"].astype('Int64')
- print(df["id"].info())
- df.to_parquet("output/test.parquet")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement