Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hiddenleaf07/Yfinance_data

Repository files navigation

For Extremly Lazy People

Optimizing saved pickle files

If you use DataStore.save_stock_data it writes a pickle into results_pkl/ (for example results_pkl/stock_data_261025.pkl). Use the included optimize_pickle.py to convert the stored dicts back into pandas DataFrames and produce a ready-to-use optimized pickle.

Example:

python optimize_pickle.py results_pkl/stock_data_261025.pkl

This will write results_pkl/stock_data_261025_optimized.pkl next to the original. Add --compress to also create a gzipped .pkl.gz file suitable for download.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /