Ben Lindsay
benjlindsay.com
Ben Lindsay
@benjlindsay.com
Pythonista/Minneapolista
Looks like you can check the type of an incoming df and use that in an if block to make the right kind of series. I imagine you'd have to do something like that anyway (and a lot more often) without narwhals. I haven't used narwhals but just curious about how well it does/doesn't work
August 27, 2025 at 3:55 AM
Interesting. If you don't mind sharing, what's the use case where you need to create a new series inside a function? Is that something you need to do frequently or do most operations you're dealing with fall more neatly into chainable operations on Polars or pandas dfs?
August 27, 2025 at 3:55 AM
I see some series stuff here in point 2: narwhals-dev.github.io/narwhals/con...

That doesn't help with what you want to do?
What about the pandas Index? - Narwhals
narwhals-dev.github.io
August 27, 2025 at 1:47 AM
I really enjog this...sorry, I mean enjohy
June 25, 2025 at 9:16 PM
How is that not an Onion article?
April 4, 2025 at 4:25 PM
Spare a thought for the constipated ones too
March 30, 2025 at 4:25 PM
...per project. (And obviously cases where conda is what you're used to and you don't want to bother switching) Any I'm missing that you know of?
March 27, 2025 at 10:31 AM
I haven't used conda for a while and I'm curious about use cases where uv is not a good replacement for conda. The main one I can think of is shared machines where you don't have root access to install non-python dependencies, or cases where you need different versions of non-python dependencies...
March 27, 2025 at 10:31 AM
...or conda this whole time for a lot of data science folk. #DataBS
March 27, 2025 at 2:29 AM
Had to keep a spreadsheet to track which things got properly covered, which ones they still need something from me on, which things I just need to call again to check in etc. Huge PITA
March 25, 2025 at 8:00 PM
I haven't had as rough of a time with insurance as it sounds like you had, but similar enough to empathize. Had a big surgery a couple years back and had to constantly call to ask for prior authorization and then to rerun the insurance for every little thing.
March 25, 2025 at 8:00 PM
Thanks!
March 25, 2025 at 1:19 AM
Curious how much knowledge gets passed from person to person in mentor/mentee relationships that doesn't really make it in books. Also curious about general rebuilding from something like that. I'd read that book if someone wrote it
March 23, 2025 at 4:19 AM
Everyone can still remember who they are, who they work with, what they've been doing, and they have the capacity to relearn stuff. How long does it take to recover from that? What is permanently lost?
March 23, 2025 at 4:19 AM
Oof yeah...
March 17, 2025 at 4:30 AM
Humans also don't have real intelligence, it's just chemicals
February 23, 2025 at 1:23 AM
It's probably more than a couple months old if your hummus is already talking to you
February 22, 2025 at 1:13 PM
I spend all my time thinking "ok I'm turning a new leaf and paying attention to their name when they say it, definitely going to remember it, so proud of myself for paying attention to their name...oh no did they already say it I missed it what was it ah it's gone how did this happen again?"
February 22, 2025 at 12:34 PM
Have you tried plotly? Haven't used either for a long while but plotly seemed like less work to get something reasonable, especially with plotly express
February 22, 2025 at 12:32 AM
Yep, this. It's a little annoying to have to remember to put that at the top of the notebook but it does the trick
February 21, 2025 at 2:47 PM