Tags / dictionary
Optimizing Dictionary of Lists for Efficient Lookups: A Performance Boost with Precomputed Minimum Values
Converting Pandas Dataframes to Dictionaries using Dataclasses and `to_dict` with `orient="records"`
Converting Pandas DataFrames to Nested Dictionaries in Python
Optimizing Memory Usage with Pandas Series: A Guide to Saving to Disk with Sparse Matrices