med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

370
active users

#pandas

2 posts2 participants0 posts today

Just came across this warning 😁

FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.

Ok, so it's Pandas referring to the symbol for "hour", but still. At first glance it looked like a pretty bold move! I was about to alert my sister Heidi that her name is now "heidi". 😆

#pandas tries way too hard to guess what you want. I find myself having to test for all of these special cases where the output of a function might be in a completely different format than the typical case. In retrospect it doesn't really seem to be much good for automated data processing, more for manual data analysis.

Making it work but it's not becoming intuitive with time.

But how hard did you try... if you squint, maybe there's a digit in there somewhere and with a little decluttering we could get to an integer.. from there, it's almost a double... give it a go... #typesafety - talk to your kids about it before someone shows them #pandas

I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

- #netCDF natively supporting complex numbers
- #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
- #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
- proper data pipeline systems
...

I don't get #Python package dependencies. I have two #conda envs with exactly python versions, packages all from #pip with major overlaps. Tried install another package in env A, after downgrading several packages including #pandas all went well. But when I try loading the newly installed package in REPL cmd, an error occurred complaining about pandas version. I removed the package, deactivate env A and activate env B, install same package in env B, same downgrade happened with pandas while this time all packages loaded without any issue. And this is not the first time I see this. Before this I use conda/mamba to manage packages and I switched to pip for package management hoping this won't happen anymore.