May have posted this already but, just in case...
A milder #python cheatsheet... okay, just #pandas
#datascience either way, just not as much #ai
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".
Last #datascience (really just #python ) cheatsheet for today (probably)
This one focuses on #pandas
https://www.walknews.com/910991/ 「頼みは台湾」和歌山県白浜町長は日中議連訪中団に「パンダの契約延長」懇願せず(下) | JAPAN Forward #AdventureWorld #HsiaoBiKhim #PandaDiplomacy #pandas #Politics&Security #ShimpeiOkuhara #shirahama #Taiwan #ToshihiroNikai #tourism #UenoZoo #YasuhiroOe #YukoObuchi #台湾 #政治・安全保障問題
A Chinese government official has shown a positive stance on the possibility of newly lending a giant panda to Japan, as four pandas will leave the country in June under the terms of a loan agreement. https://www.japantimes.co.jp/news/2025/04/30/japan/china-giant-panda-japan/?utm_medium=Social&utm_source=mastodon #japan #pandas #chinajapanrelations #china
Ciao Mondo.
Mi pare di capire che stamattina ci sentiamo come i #panda
#pandas
#pandabear
#orsopanda
#orso
#wwf
#modellarelacreta
#homedecor
#decor
#handmade
#airdryclay
#claysculpting
#modellarelacreta
All four giant pandas at a zoo in Adventure World in Wakayama Prefecture will be transferred to China around the end of June, the leisure facility said Thursday. https://www.japantimes.co.jp/news/2025/04/25/japan/pandas-in-wakayama-to-return-to-china/?utm_medium=Social&utm_source=mastodon #japan #china #wakayama #adventureworld #pandas
#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
...
OPEN SOURCE
The Problem
There have been many instances where I needed to compare two dataframes and analyze their differences. To address this need, I created a fast Python library called "data_fingerprint" that does exactly that.
Check it out and let me know what you think!
https://github.com/SimpleSimpler/data_fingerprint
Thank you to #Kone & Mai and Tor Nessling Foundations for supporting this work. A quantitative work like this would not be possible without a robust suite of FOSS tools. My thanks to the maintainers of #QGIS, #pandas, #geopandas, #duckdb, #dask, #statsmodels, #jupyter and many more!
Working on core array computing libraries that power #scientificPython? #EuroSciPy2025 wants your proposals on optimized array operations, vectorization techniques, and numerical foundations. Submit your groundbreaking work!
#python #pandas #regex
Ein großer Fallstrick für mich, sind die unterschiedlichen Rückgabewerte.
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.
Der Kleinkram macht immer den Unerschied!