You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Perf: Page.to_dataframe / to_polars goes through per-row Pydantic dumps #264
Both DataFrame paths walk every item with model_dump(mode="python") — for a 1000-row trades_history page this is 1000 nested-dict allocations plus per-field Python-level conversion, then pandas/polars re-infers dtypes from records. Order of magnitude slower than column-oriented construction.
Build columns once ({field: [getattr(item, field) for item in self.items] for field in cls.model_fields}) and pass to pd.DataFrame(columns_dict) / pl.from_dict(...); preserves the #225 Decimal contract and avoids per-row dict construction. Add a bench_page_to_dataframe.py.
Activity
perf: build Page DataFrames column-oriented (#264) (#283)
polish(auth+transport): sign-executor race, Retry-After parity, Messa…
docs: accuracy review + release prep for 3.2.0 (#421)