• merari42@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    Have you heard that there are great serialised file formats like .parquet from appache arrow, that can easily be used in typical data science packages like duckdb or polars. Perhaps it even works with pandas (although do not know it that well. I avoid pandas as much as possible as someone who comes from the R tidyverse and try to use polars more when I work in python, because it often feels more intuitive to work with for me.)

    • driving_crooner
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I used to export my pandas DataFrames as pickles, but decided to test parquet and it was great. It was like 10x smaller and allowed me to had the the databases on a server directory instead of having to copy everything to the local machine.