Is there a way to store datetime in Python/Numpy that uses less memory than datetime64?

Viewed 57

In the documentation I only see the option to use datetime64, but the timestamps I'm using are in 15-minute intervals, so they don't need to be accurate within a milisecond.

Is there something like a datetime32 that I could use, or would I need to come up with a custom data type? My data is shown in screenshot below. I'm able to optimize the other columns by using uint32 and float32.

enter image description here

0 Answers
Related