Skip to content

✨ Enhance default dataframe schema#9

Merged
ff137 merged 9 commits into
mainfrom
update-default-schema
Feb 25, 2025
Merged

✨ Enhance default dataframe schema#9
ff137 merged 9 commits into
mainfrom
update-default-schema

Conversation

@ff137

@ff137 ff137 commented Feb 25, 2025

Copy link
Copy Markdown
Owner

We now by default expect OHLCV (open-high-low-close-volume) values to be float32's, for lower memory usage by default.

To work with 💩 -coin data, measured in satoshis, you may want to request float64's for higher precision, but float32 (7-decimal precision) is more than good enough for most scenarios.

If you are working with data with no decimals, you may want to use int32 dtypes

We now also set the index of the OHLC dataframe to represent the datetime of the timestamp value.

@ff137
ff137 merged commit 7b64e95 into main Feb 25, 2025
@ff137
ff137 deleted the update-default-schema branch February 25, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant