import pandas as pd
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--dir', required=True, help='dir address') #C/.../file.parquet
parser.add_argument('--out', required=True, help='out address') #C/.../out.csv
args = parser.parse_args()
df = pd.read_parquet(args.dir, engine='pyarrow')
df.to_csv(args.out, index=False)
'Code > preprocess' 카테고리의 다른 글
draw_graph (0) | 2023.11.29 |
---|---|
NPY visualize (0) | 2023.11.03 |
pcd visualize (0) | 2023.11.02 |
img2video-opencv (0) | 2023.10.26 |
argparse (0) | 2023.08.16 |