Skip to main content

Questions tagged [python-polars]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Multiclass PyTorch neural net is stuck predicting 1 class, even with "simple" dataset

I'm trying to predict a class of some data, and am struggling. So, to debug I created a simple test dataset, yet I am having the same issues. I've tried adding weighting, and lastly adding a column ...
1 vote
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. ...
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 ...
0 votes
0 answers

content wise operation in polars series?

i have a dataframe with 2 series, i want to create new column that has 1 if if start word of array one series is equal to start word of another series else 0. How do I do it? i am using polars, it ...
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 ...