Writing #Python and #Pandas by hand? That's so 2025!
More and more developers 10x their productivity with Claude Code. You can, too!
Join the 2nd round of my AI practice workshops. Learn what to do (and not to do) the hard way, getting your hands dirty with hands-on labs.
More info: https://lernerpython.com/code-with-claude/

#Python #Pandas astype() returns a NEW series — it doesn't modify in place:
s = s.astype('int8')
s = s.astype('float64')
s = s.astype(str)
Watch out: You'll get a TypeError if any value can't be converted.

Content warning:Spoilered for photo of a 🐍.
Apparently I have a new neighbor in my crawlspace. Must have sensed that a #Python person lives here. Funny that it showed up while I was watching Python Unplugged too. 😂

Python vs JS Signed URLs: Hotlink Pirates Blocked
Short-lived links that die before they go viral.
#python #javascript #signedurls #expiry #hotlinking #hmac #viralcoding #codecomparison #media #security
https://www.youtube.com/watch?v=sr5LSgTfZbE
Generator expressions can be used as an "invent your own comprehension" tool.
They don't *actually* invent a custom comprehension, but they can be used for effectively that purpose.
I just published a new article on this:
https://pym.dev/custom-comprehensions/
Как я определял дистрибутивы Linux по установленным пакетам, и при чем тут KUMA?
Как определить дистрибутив Linux? А что, если имеется только информация о пакетах, установленных на устройстве? История одного «велосипеда» или мы не нашли готового решения. Представьте, что вам нужно определить дистрибутивы, опираясь исключительно на установленные пакеты. Инвентаризация есть, но данные неполные — часто известно только имя хоста, IP и список установленных пакетов. Операционная система может быть указана как «Linux» без уточнения дистрибутива и версии. О создании алгоритма, работе с KUMA и написании код в данной статье.
https://habr.com/ru/articles/1006546/
De la física determinista a la física de campos
#python @Python_cursos Tutor
Explicacion Comparacion Orden
📊 Project Tutorial: Exploring Financial Data Using the Nasdaq Data Link API
Working with financial data used to mean downloading spreadsheets or paying for expensive data subscriptions. APIs have changed that. With a few lines of Python, we can now pull structured financia...
📰 Source: Dataquest
🔗 Link: https://www.dataquest.io/blog/exploring-financial-data-using-the-nasdaq-data-link-api/
heise+ | Sortieralgorithmen ohne Zweck: Schnarchlahm bis super performant
Der Humor von Informatikern rühmt sich, unkonventionell zu sein. Zeugen dafür sind Internetforen und unsere Auswahl an sinnbefreiten Sortieralgorithmen.
#IT #Programmierung #Python #Wissenschaft #news
Python Tip: Dictionary Merge (|)
defaults = {'color': 'blue', 'size': 10}
user = {'color': 'red'}
final = defaults | user
# {'color': 'red', 'size': 10}
Python 3.9+ lets you merge dictionaries with the | operator. Clean, readable, Pythonic.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: Context Managers
from contextlib import contextmanager
@contextmanager
def timer():
start = time.time()
yield
print(f'Took {time.time()-start:.2f}s')
with timer():
heavy_computation()
Create your own context managers with @contextmanager. Clean resource management and timing.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
rix, my package that leverages #Nix to provide reproducible data science environments for #RStats (and #python and #julia) is in the top 10 starred ropensci packages!
that’s pretty cool
