initial-import: 2026-04-11 21:18:55

This commit is contained in:
cfdaily
2026-04-11 21:18:55 +08:00
commit 5e6b2d73eb
264 changed files with 117047 additions and 0 deletions
+11
View File
@@ -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")