initial-import: 2026-04-11 21:18:55
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/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")
|
||||
Reference in New Issue
Block a user