#!/usr/bin/env python3
import pandas as pd

parquet_path = "/Users/chufeng/nas/stock-data/sanguo_quant_live/zhaoyun-data/data/raw/daily/sh510300_daily.parquet"
csv_path = "/tmp/510300_daily.csv"

df = pd.read_parquet(parquet_path)
df.to_csv(csv_path, index=False)

print(f"Converted {len(df)} rows to CSV: {csv_path}")
print(f"Size: {open(csv_path).read().__len__()} bytes")
