Kinda started using that with polars, force the scan/read schema as string, and down the road cast as the necessary type when needed. I’m calling it “just in time” data cleaning.
- 5 Posts
- 91 Comments
driving_crooner@lemmy.eco.brto
Linux@lemmy.ml•Ubuntu mod team takes anti-queer "Don't say gay" stance.
7·2 months agoNah, fuck nazis. They don’t deserve to exist.
driving_crooner@lemmy.eco.brto
Linux@lemmy.ml•Ubuntu mod team takes anti-queer "Don't say gay" stance.
51·2 months agoCrazy statement, if we accept the gays we should accept the nazis too.
Amazon Web Keynotes. It’s a programming language for server administration.
My wife has been using Linux in home as far as we started living together (aprox. 15y). Recently she moved from working as a chef in restaurants to doing it for a company and they gave her a Mac to deal with her corporate business (email, meetings and so on) and she hates it, she said that everything looks cute, but nothing works like she wants and cannot change anything.
Had a friend who father was a FORTRAN programmer and teach him since he was a child. At 17, he was already working on a oil company making bank. He was obsessed with synthesizers and everytime you went to his house he showed you the new ones he bought. At 25 he “retired” with his own house and a fully equipped recording studio and nowadays it’s a music producer doing some consulting to pay the bills.
I had to restart today.
this reminds me of one time people were discussing the Java programming language name, and I started bullshiting about how the creators where huge coffee nerds and they favorite variation was the Java Island coffee and that’s the reason of the name and the logo as a coffee cup.
Little I knew, that was kinda the real reason.
driving_crooner@lemmy.eco.brto
Python@programming.dev•Opinions: Do you feel Python is a more object-oriented or procedural language?
1·4 months agoI 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?
driving_crooner@lemmy.eco.brto
linuxmemes@lemmy.world•"Together we'll make X great again!"
4·5 months agoXXY11 so they have to learn about intersex and other way sex characteristics can show up.
Vibe coding without Cursor
FUCKBOI Utility for Creative Kits, Brushes, Overlays, & Imaging
it’s have to be recursive too.
Are you the person who write us law’s titles?
driving_crooner@lemmy.eco.brOPto
Python@programming.dev•did you moved from Pandas to Polars? why and how was your experience?
1·5 months agoThere’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.
driving_crooner@lemmy.eco.brOPto
Python@programming.dev•did you moved from Pandas to Polars? why and how was your experience?
3·5 months agoMy 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.
driving_crooner@lemmy.eco.brOPto
Python@programming.dev•did you moved from Pandas to Polars? why and how was your experience?
2·5 months agoI 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)
driving_crooner@lemmy.eco.brto
Programmer Humor@programming.dev•Can anyone confirm accuracy?
3·5 months agoOCaml maybe
driving_crooner@lemmy.eco.brto
Programmer Humor@programming.dev•Python needs an actual default function
6·5 months agoDoes everyone call the function of the script main? I never use main(), just call the function what the program is supposed to do, this program calculates the IBNR? The function is called calculate_IBNR(), then at the end of the script if name = ‘main’: calculate_IBNR(test_params) to test de script, then is imported into a tkinter script to be converter to an exe with pyinstaller

Lua should be in Portuguese.