How to Replace DataFrames with Lists of Dictionaries

Marie Truong
Towards Data Science
6 min readJul 25, 2022

--

Photo by Element5 Digital on Unsplash

Pandas DataFrames can be a very convenient way to read, edit and visualize small tabular data. But they also come with a few major downsides:

  • They don’t work well with Python native data types
  • They are not convenient with nested data
  • Some operations can be very slow
  • They take a lot of space

--

--