Sasan Jafarnejad
Sasan Jafarnejad
Home
Posts
Projects
Publications
About Me
Contact
Light
Dark
Automatic
Pandas
Solving Memory Issues When Loading Parquet Files into Pandas DataFrames
Learn how to overcome unexpected memory consumption when loading Parquet files with dictionary columns into Pandas DataFrames, and discover a simple solution to drastically reduce memory usage.
Last updated on Oct 2, 2024
3 min read
Data Science
,
Programming
,
Performance Optimization
Retrieving Data From a JSON API With Python
For a long time, I had in mind to write a post on visualizing GPS trajectory data. To my surprise, it’s difficult to find a couple of data samples online that you can quickly use for some data analysis.
Last updated on Mar 19, 2022
4 min read
development
A trick for pandas groupby!
I often work with sensor measurements such as those from car CAN-bus. These measurements are often collected over multiple sessions, but rarely these sessions are indicated by a proper identifier. Sometimes timestamps (containing date and time) are available and one can infer based on the time interval between the recordings.
Last updated on May 12, 2021
3 min read
development
Cite
×