mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.6K
active users

#pandas

4 posts4 participants0 posts today
Wolf<p>At last night’s <span class="h-card" translate="no"><a href="https://hachyderm.io/@mug" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mug</span></a></span> meeting we looked at a lot of different solutions to <a href="https://hachyderm.io/tags/adventofcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode</span></a> day 1 in many different languages. Two that were very interesting to me were <a href="https://hachyderm.io/tags/Zig" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Zig</span></a> and <a href="https://hachyderm.io/tags/haskell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>haskell</span></a>. The way these two languages worked was really quite fascinating. After seeing real code in these two languages, I can tell they are not for me; but they were interesting and illuminating nonetheless. </p><p>There was a solution entirely in <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQL</span></a>. Another in <a href="https://hachyderm.io/tags/vim9script" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vim9script</span></a>. Another in <a href="https://hachyderm.io/tags/swiftlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swiftlang</span></a> <a href="https://hachyderm.io/tags/swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swift</span></a> (I don’t think that one’s in the repo yet). I wrote several implementations myself. The one I felt most proud of is <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> with the core written in <a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> <a href="https://hachyderm.io/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> tied together with <a href="https://hachyderm.io/tags/PyO3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyO3</span></a>. The one I felt was maybe the best tool for the job was entirely based on <a href="https://hachyderm.io/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a>. As I said in a previous post, I tried to solve it in <a href="https://hachyderm.io/tags/polars" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>polars</span></a>, but the API exposed by Polars at least as far as I could tell, made it no better than simple lists in Python. I need to get deeper knowledge here. </p><p>The repo lives here: <a href="https://github.com/MichiganUnixUserGroup/MUG-2025-03-11-Advent-of-Code" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/MichiganUnixUserGro</span><span class="invisible">up/MUG-2025-03-11-Advent-of-Code</span></a>.</p>
FrauHollunder<p><a href="https://openbiblio.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://openbiblio.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> <a href="https://openbiblio.social/tags/regex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regex</span></a> <br>Ein großer Fallstrick für mich, sind die unterschiedlichen Rückgabewerte.<br>pandas lässt recht einfach auf den gesuchten Regex als Rückgabewert zugreifen, bei python zusammen mit re braucht es eine extra Schleife, wenn man den Regex als Rückgabewert will.<br>Der Kleinkram macht immer den Unerschied!</p>
Mike Driscoll<p>If you're new to <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, you might know you can chain some methods together. You'll see this type of thing, especially in <a href="https://mastodon.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a>, but you can do method chaining in several of Python's built-in objects as well.</p><p>Here's an example of chaining string methods together:</p>
The Smartphone PhotographerPanda wants to Play. <a href="https://pixelfed.social/discover/tags/pandas?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#pandas</a> <a href="https://pixelfed.social/discover/tags/pandabears?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#pandabears</a> <a href="https://pixelfed.social/discover/tags/cutepandas?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#cutepandas</a> <a href="https://pixelfed.social/discover/tags/pandalovers?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#pandalovers</a> <a href="https://pixelfed.social/discover/tags/animalphotography?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#animalphotography</a> <a href="https://pixelfed.social/discover/tags/wildlife?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#wildlife</a> <a href="https://pixelfed.social/discover/tags/nature?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#nature</a> <a href="https://pixelfed.social/discover/tags/zooanimals?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#zooanimals</a> <a href="https://pixelfed.social/discover/tags/bamboo?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#bamboo</a> <a href="https://pixelfed.social/discover/tags/animalfriends?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#animalfriends</a> <a href="https://pixelfed.social/discover/tags/photography?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#photography</a>
williemaize<p>Today's challenge on LeetCode: Patients With a Condition 🏥🔍</p><p>Hint: Use .contains() with regex to handle variations </p><p>Give it a shot! [<a href="https://leetcode.com/problems/patients-with-a-condition?envType=study-plan-v2&amp;envId=30-days-of-pandas&amp;lang=pythondata" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">leetcode.com/problems/patients</span><span class="invisible">-with-a-condition?envType=study-plan-v2&amp;envId=30-days-of-pandas&amp;lang=pythondata</span></a>] How did you approach it? 👇<br><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/Pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandas</span></a> <a href="https://mastodon.social/tags/DataScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataScience</span></a> <a href="https://mastodon.social/tags/LeetCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LeetCode</span></a></p>
TerpieCat<p>Red panda Asa patrols her kingdom. <a href="https://ohai.social/tags/RedPandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RedPandas</span></a> <a href="https://ohai.social/tags/Pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandas</span></a> <a href="https://ohai.social/tags/WhiskersWednesday" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WhiskersWednesday</span></a> <a href="https://ohai.social/tags/NationalZoo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NationalZoo</span></a></p>
Bob 🇨🇦🇲🇽🇺🇦<p><a href="https://phys.org/news/2025-02-dont-pandas-meat-molecules-bamboo.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phys.org/news/2025-02-dont-pan</span><span class="invisible">das-meat-molecules-bamboo.html</span></a></p><p><a href="https://infosec.exchange/tags/science" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>science</span></a> <a href="https://infosec.exchange/tags/nature" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nature</span></a> <a href="https://infosec.exchange/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a></p>
datum (n=1)<p>TLDR: Pandas are dope fiends!?</p><p>TIL that Pandas aren't born loving bamboo, but that it's an addiction with a dopamine component.</p><p>Those cute furry pandas are actually carnivores.</p><p>But they sit on their butts all day eating plants and getting high instead of chasing animals.</p><p>"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." <a href="https://newatlas.com/biology/pandas-bamboo-micro-rna/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">newatlas.com/biology/pandas-ba</span><span class="invisible">mboo-micro-rna/</span></a></p><p><a href="https://zeroes.ca/tags/drugs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drugs</span></a> <a href="https://zeroes.ca/tags/dopamine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dopamine</span></a> <a href="https://zeroes.ca/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> <a href="https://zeroes.ca/tags/bamboo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bamboo</span></a> <a href="https://zeroes.ca/tags/miRNA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>miRNA</span></a> <a href="https://zeroes.ca/tags/RNA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RNA</span></a></p>
AnnaAnthro<p><a href="https://mastodon.social/tags/Pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandas</span></a> "tricked" by bamboo chemicals into becoming the world's biggest <a href="https://mastodon.social/tags/bamboo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bamboo</span></a> fans</p><p><a href="https://newatlas.com/biology/pandas-bamboo-micro-rna/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">newatlas.com/biology/pandas-ba</span><span class="invisible">mboo-micro-rna/</span></a></p>
Jack C.<p>My internal <a href="https://indieweb.social/tags/tool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tool</span></a> project at work is starting to feel like something that needs a second developer to spend a little time on. Unfortunately I don't think anyone else knows <a href="https://indieweb.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> / <a href="https://indieweb.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> well enough or would have the time or willingness to learn. </p><p>I just need a second pair of non-ai eyes on this code. </p><p>I think I'm over feeling like an impostor for slipping deadlines, but it doesn't feel great. It's clear this is more important than a handy little tool.</p><p><a href="https://indieweb.social/tags/codereview" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>codereview</span></a> <a href="https://indieweb.social/tags/softwareteam" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwareteam</span></a></p>
williemaize<p>🚀 Why loc in pandas is faster than subsetting:</p><p>⚡ Direct label access (no recalculations)<br>💾 View vs. Copy (loc returns a view, subsetting makes a copy)<br>⚙ Cython-optimized for speed<br>🏃 Less overhead in chained ops</p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/DataScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataScience</span></a> <a href="https://mastodon.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a></p>
Lukas VFN 🇪🇺<p>Discovery reveals giant flying squirrel once soared over Southern Appalachia<br><a href="https://phys.org/news/2025-02-discovery-reveals-giant-flying-squirrel.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phys.org/news/2025-02-discover</span><span class="invisible">y-reveals-giant-flying-squirrel.html</span></a> paper: <a href="https://link.springer.com/article/10.1007/s10914-025-09751-w" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">link.springer.com/article/10.1</span><span class="invisible">007/s10914-025-09751-w</span></a></p><p>"A giant <a href="https://scholar.social/tags/FlyingSquirrel" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FlyingSquirrel</span></a>—about the size of today's house cats—once soared through the skies over what is now Southern <a href="https://scholar.social/tags/Appalachia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Appalachia</span></a>, gliding above <a href="https://scholar.social/tags/rhinos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rhinos</span></a>, <a href="https://scholar.social/tags/mastodons" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastodons</span></a> and red <a href="https://scholar.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a>... closest relatives are the giant <a href="https://scholar.social/tags/FlyingSquirrels" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FlyingSquirrels</span></a> in Japan, China and Indonesia... somehow they crossed the Bering Land Bridge alongside other <a href="https://scholar.social/tags/mammals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mammals</span></a> about 5 million years ago."</p>
TerpieCat<p>The beautiful and sassy Chris-Anne. <a href="https://ohai.social/tags/RedPandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RedPandas</span></a> <a href="https://ohai.social/tags/RedPandasAreRealPandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RedPandasAreRealPandas</span></a> <a href="https://ohai.social/tags/Pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandas</span></a> <a href="https://ohai.social/tags/TongueOutTuesday" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TongueOutTuesday</span></a> <a href="https://ohai.social/tags/NationalZoo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NationalZoo</span></a></p>
skotperez<p><strong>Compare the Best Data Visualisation Libraries for Python and Pandas</strong></p>
:rss: Qiita - 人気の記事<p>AWS Lambda の Python で pandas や requests を使うのに、Lambda Layer を自作する必要はない - AWS SDK for pandas を活用しよう<br><a href="https://qiita.com/mabuchs/items/7f9aa011a485ab3fbc7a?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qiita.com/mabuchs/items/7f9aa0</span><span class="invisible">11a485ab3fbc7a?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/qiita" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qiita</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/AWS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AWS</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/lambda" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lambda</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Lambda_Layers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lambda_Layers</span></a></p>
Darren<p>Happy f&amp;*ing Sunday. Big run overnight crashed because out of hundreds of millions of rows, a single bool value was "NA". Any typesafe programming environment would have forced a plan for this, but <a href="https://sfba.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> is like whatever. *shrug*... f#$k <a href="https://sfba.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a></p>
skotperez<p><strong>Make Better Bar Charts in Python using Pandas Plot</strong></p>
RiffReporter<p>Prominente <a href="https://mastodon.social/tags/Tiere" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tiere</span></a> wie <a href="https://mastodon.social/tags/Orcas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Orcas</span></a> oder <a href="https://mastodon.social/tags/Pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandas</span></a> haben das Potenzial, den <a href="https://mastodon.social/tags/Artenschutz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Artenschutz</span></a> voranzutreiben – doch was passiert mit den unpopulären, oft vergessenen Arten wie <a href="https://mastodon.social/tags/Amphibien" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Amphibien</span></a>? Lisbeth Schröder über die besondere Rolle von <a href="https://mastodon.social/tags/Marketing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Marketing</span></a> im <a href="https://mastodon.social/tags/Umweltschutz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Umweltschutz</span></a>: <a href="https://mastodon.social/tags/PR" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PR</span></a> <a href="https://www.riffreporter.de/de/umwelt/knut-freya-prominent-star-umweltschutz-sudan-haie-weisserhai-orcas-angreifen" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">riffreporter.de/de/umwelt/knut</span><span class="invisible">-freya-prominent-star-umweltschutz-sudan-haie-weisserhai-orcas-angreifen</span></a></p>
anubis2814<a href="https://friendica.myportal.social/search?tag=animals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>animals</span></a><br>Just a reminder that giant <a href="https://friendica.myportal.social/search?tag=pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> aren't true pandas but vegetarian bears while red pandas are the only true <a href="https://friendica.myportal.social/search?tag=panda" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>panda</span></a> 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.<br>The giant panda however will still probably retain top panda spot in most peoples minds
Mike Driscoll<p>My friend, Matt Harrison, is launching his new book, Effective Visualization.</p><p>It's a book using <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, <a href="https://mastodon.social/tags/matplotlib" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>matplotlib</span></a> and <a href="https://mastodon.social/tags/pandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandas</span></a> to create amazing graphs and plots</p>