eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

218
active users

#pandas

0 posts0 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". 😆

Anybody using the narwhals #python package for #dataframe manipulations?

Very comfortable with #pandas and #polars syntax, but although #narwhals is supposed to be very close to polars, it is a subset and I find that there is a lot of basic stuff missing. Trying to figure out how to get the first part of a str.split.

in pandas I just add .str[0] and in polars .list.get(0)

with narwhals neither approaches are implemented. Any idea as what is supported in narwhals to do this?
#programming

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.

TLDR: Pandas are dope fiends!?

TIL that Pandas aren't born loving bamboo, but that it's an addiction with a dopamine component.

Those cute furry pandas are actually carnivores.

But they sit on their butts all day eating plants and getting high instead of chasing animals.

"some of the bamboo-derived miRNAs were found to regulate dopamine pathways, driving food motivation and the reward system linked to it. So if eating bamboo is a pleasurable, satisfying experience for a panda, it's more likely to be solely driven to seek out this trigger." newatlas.com/biology/pandas-ba

New Atlas · Pandas "tricked" into becoming the world's biggest bamboo fansBuilt to be carnivorous, giant pandas spend up to 16 hours a day on their backsides eating bamboo. But contrary to all the panda jokes, it's not because they're lazy or too dumb to know better. It's far more fascinating – and it may help humans, too.

Discovery reveals giant flying squirrel once soared over Southern Appalachia
phys.org/news/2025-02-discover paper: link.springer.com/article/10.1

"A giant #FlyingSquirrel—about the size of today's house cats—once soared through the skies over what is now Southern #Appalachia, gliding above #rhinos, #mastodons and red #pandas... closest relatives are the giant #FlyingSquirrels in Japan, China and Indonesia... somehow they crossed the Bering Land Bridge alongside other #mammals about 5 million years ago."

#animals
Just a reminder that giant #pandas aren't true pandas but vegetarian bears while red pandas are the only true #panda species alive today. Both have a similar thumb bone used for grasping bamboo, so they were viewed as related, but are much more distant from each other with generic evidence. True Pandas are much closer related the raccoons and mustelids than bears.
The giant panda however will still probably retain top panda spot in most peoples minds