Questions tagged [python-polars]

3 questions
2
votes
2 answers

Read big JSON file as a Dataframe using polars

I am pretty new to polars and have been working around it just to get acquainted. import polars as pl filename_data = 'endomondoHR.json' pl.read_json(filename_data) Data -> kaggle data The error I am getting is…
shivanshu dhawan
  • 188
  • 1
  • 2
  • 9
0
votes
1 answer

pl.datetime plots as days since epoch or 1970, if formatted - polars and matplotlib

I'm attempting to port some old reports from Pandas to Polars. I am happy with the data, and am now attempting to plot a few time series. This is working, but I'm finding that matplotlib just doesn't seem to want to cooperate with Polars'…
draeath
  • 123
  • 1
  • 7
0
votes
1 answer

polars: parsing a funky datetime format with optional fields

I am trying to handle data coming from software that has as a terrible format for a time duration: [days-]hours:minutes:seconds[.microseconds]. In case someone else has already traveled this path, I'm fighting with the Elapsed and field from SLURM's…
draeath
  • 123
  • 1
  • 7