Does your #Python #Pandas column contain repeated strings? Turn it into a 'category' series (like an enum) to save memory:
df['c'].memory_usage() # 124,957,472
df['c'] = (df['c'].astype('category'))
df['c'].memory_usage() # 12,496,555
That's right โ 90% less memory!

It's time to get out the vote y'all! Wagtail has been nominated for TWO CMS Critic Awards! If you love our software, please show your support by voting for us.
Get your ballot here: https://cmscritic.com/vote
(P.S. If you're in NC, don't forget to vote in the primaries either! March 3 is Election Day!)
#WagtailCMS #Django #Python #OpenSource #CMS

Delete File via 3 Methods
Delete File via 3 Methods This content explores interesting aspects of this topic. The information provided offers valuable insights and perspectives. Understanding this reveals how everyday things are more thoughtful than they appear. Next time you'll notice this detail. This fascinating detail shows how much thought goes into things we take for granted.
#python #coding #programming #tutorial #file #delete #remove
https://www.youtube.com/watch?v=mKfvVMZl69M
Le #CFP pour la Soirรฉe des communautรฉs techniques de #Rennes du jeudi 9 avril est ouvert : https://framaforms.org/soiree-des-communautes-rennaises-appel-a-propositions-1769714020 ๐ฃ
Ce format court (20 minutes + 5 questions) est l'occasion de s'essayer au partage de connaissances ou au retour d'expรฉrience, ou d'รฉbaucher une intervention plus longue pour une confรฉrence de plus grande envergure (comme le @breizhcamp.
Proposer votre confรฉrence sur un sujet qui vous passionne sur une des thรฉmatiques proposรฉes par la soirรฉe (#Python "for sure" ๐)
In asyncio Python, how would you implement the following HTTP client:
You have an initial quota of 300 HTTP requests. Every second, it gets replenished by 5, up to the maximum of 300. You can make as many requests as you want, but if your quota is exhausted, calls will block until it's been replenished. Waiting calls will get fulfilled in a FIFO fashion.
I know there's asyncio.Semaphore, but it's not designed for dynamically fluctuating limits over time.
Calcula la altura de caรญda libre de un paracaidista
con tres coeficientes de fricciรณn diferentes
#Galileo #Aceleracion #FreeFall #Python #Fisica software libre #Derivadas #Cambio #anzoรกtegui #Lecheria
Is it just me, or are LLMs starting to produce python code with type hints for EVERYTHING? Call me lazy or a bad programmer, but I don't use type hints so aggressively.
When using llm generated code, do you "clean it up" to match your style, or leave it all in there?
#python #ai #llm #chatgpt #claude #copilot #gemini
๐๐ซ๐๐๐ญ๐ข๐ง๐ ๐ฌ ๐๐ซ๐จ๐ฆ ๐๐ฅ๐จ๐๐๐ฅ ๐๐๐ฌ๐๐๐ซ๐๐ก & ๐๐ซ๐๐ข๐ง๐ข๐ง๐ , ๐๐๐ฐ ๐๐๐ฅ๐ก๐ข !!
๐๐ฉ๐ ๐ซ๐๐๐ ๐๐จ๐ฎ๐ซ ๐๐๐ญ๐ ๐๐ง๐๐ฅ๐ฒ๐ฌ๐ข๐ฌ & ๐๐๐ฌ๐๐๐ซ๐๐ก ๐๐ค๐ข๐ฅ๐ฅ๐ฌ ๐ฐ๐ข๐ญ๐ก ๐๐ฅ๐จ๐๐๐ฅ ๐๐๐ฌ๐๐๐ซ๐๐ก & ๐๐ซ๐๐ข๐ง๐ข๐ง๐ , ๐๐๐ฐ ๐๐๐ฅ๐ก๐ข!
We offer comprehensive, professionally structured online trainings and workshops designed for students, research scholars, academicians, and professionals
๐๐๐๐ฌ๐ข๐ญ๐: ๐ฐ๐ฐ๐ฐ.๐ ๐ซ๐ญ๐๐๐ฎ.๐๐จ๐ฆ
๐๐ฆ๐๐ข๐ฅ: ๐ข๐ง๐๐จ@๐ ๐ซ๐ญ๐๐๐ฎ.๐๐จ๐ฆ
#GlobalResearchAndTraining #OnlineWorkshops #DataAnalysis #ResearchSkills #Microdata #SPSS #STATA #RStudio #Python #Econometrics
#Education #Academic

Chained Assignment in Python Bytecode
https://loriculus.org/blog/python-chained-assignment/
I'm looking specifically for a python programming group that meets on a bi-weekly basis, virtually.
Recommendations and boosts welcomed.
#python #programming #swe #softwareCommunity #foss #pythonProgramming #duckType
#Python's itertools.starmap explained in one picture.
No words necessary.
Other than the words necessary to say that no words are necessary.
None beyond that.

Three Basic Methods to join two dif lists in python - S1 EP05 P4 - #python #PythonProgramming #LearnPython #PythonBasics #Programming101 #pythonlife #ListItem #CodeTutorial #TechEducation #DeveloperLife #DailyCoding #Shorts #Reel #tiktoklearningcampaign #CodingForBeginners #PythonForBeginner #Programming #CodingTip #PythonOperators #codedaily