

I use python for data sciences (kinda) and never write any classes or something object oriented, but given that dataframes are the bread and butter of everything I do, I guess I work in a object oriented workflow?


I use python for data sciences (kinda) and never write any classes or something object oriented, but given that dataframes are the bread and butter of everything I do, I guess I work in a object oriented workflow?


There’s this categorical column of integers that have some excepcional cases where some letters are included. I need to process the column except the excepcional cases to format the column, but I just found put that it was giving me a problem because pandas imported it as mixed type while polars just imported it as string respecting the original correct formatting.


My company is moving to databricks, that I know uses pyspark but never used it, guess eventually I’m going to have to learn it too.


I had to move away from apply a while ago because it was extremely slow, and started using masks and vectorize operations. That’s actually what is being a roadblock for me right now, can’t find a way to make it work (use to do df.loc[mask, ‘column’], but df.with_columns(pl.when(mask).then()…) is not working as expected)


(with the lemmy.world logo because it’s more colorful than the plain lemmy logo)
Not to brag, but my lemmy instance logo/mascot is a cute capybara


Guess it merged to latincore because they kinda close.

I like music, maybe is missing some stronger bass lines for my taste, but if someday go to Mexico I’m looking for a tribal party


That kind of errors are always local. The page isn’t rendered correctly by your browser.


Blender have a python interpreter? Pretty cool
Is that picture an Mbin exclusive? Is one of the rarest one out there.


I use that in match case operations, but usually when is just two possibilities, try something like this and see if works
match coin:
case 5 | 10 | 20:
…
Edit: just tested and it’s works.


Lemmy.eco.br representative here
Between Florida and the Bahamas,
Isn’t that the Bermuda’s triangle? Scary stuff happens there, let me tell you.


I understand that if you are exploring on all and so, sometimes some communities you couldn’t care less appear on the feed, it’s happens all the time to me with sports news and related, but I just block them and move on.


How can I see this in the community I mod?


I mod a small community with like 6 monthly users, I’m the only one who post or comment and the average post have 3/4 upvotes and 1 downvote. And I always ask myself who is downvoting my submissions, because it’s make no sense to me that someone take the job of pressing the downvote button on a link to a EDM set. Couldn’t they just block the community?


What UX? At least my instance have like 5 different forms to access, in the browser, then you have the apps too. There’s no way all of those UX are not good for you
Hope Mercosur get to that level kn my lifetime
Medical recommendations changed based on recent studies. What a concept!