Want to check whether a #Python #Pandas string series only contains digits? Use str.isdigit:
df['x'].str.isdigit()
This returns a boolean series, with df's index. You can then convert the digit-containing strings to integers:
df.loc[pd.col('x').str.isdigit(), 'x'].astype(int)

Kontiki, a microservices framework in Python.
github.com/kontiki-org/kontiki
#python #kontiki #amqp #rabbitmq #flask #fastapi #microservices
An impromptu opencv project, where I'm specifically looking for lowest-effort environment setup
#python : pip can't get meson to wrangle clang for numpy, but it's not pip's fault, fukyou
#rust : llvm-config can't find libclang, fukyou
#dotnet : did you mean OpenCvSharp, or OpenCvSharp4?
“Writing Python code does not require writing classes.”
Read more 👉 https://pym.dev/when-are-classes-used/
Count Words in String via 2 Methods
Count Words in String via 2 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 #string...
https://www.youtube.com/watch?v=iY9Nttetkfc
Вспоминает что такое CRUD на примере десктопного менеджера на Python
Многие новички, которые только начинают свою карьеру в программировании, не совсем понимают что такое CRUD. CRUD (Create, Read, Update, Delete) - термин, исходя из обычного перевода (Создавать, читать, обновлять, удалять), обозначает четыре базовые операции для управления данными в системах. Я хочу, попытаться, объяснить на простом примере что же это такое и как с ним можно работать. Сегодня мы напишем классический десктопный менеджер задач с графическим интерфейсом. Это отличный способ изучить и закрепить:
https://habr.com/ru/articles/1013114/
#Python #Tkinter #десктопное_приложение #менеджер_задач #CRUD #JSON #GUI #программирование_для_начинающих #создание_приложений
Have any of you taken a #Python course (beginner/intermediate level) on edx.org that you'd like to recommend?
(I am not looking for myself, and for the purposes of this discussion I am not looking for recommendations on other platforms. This is purely about learning Python specifically on #edX, not about learning Python in general.)
Boosts for reach appreciated!
https://www.edx.org/learn/python
🚀 Oh, behold the tale of Ironkernel: where #Python dons a Rusty suit and claims to unlock the mystical powers of parallel processing. 🤖 GitHub's latest offering promises to make your CPU cores work overtime, while you contemplate the deep existential question: "Will #AI ever replace my need to understand this sorcery?" 🧙♂️✨
https://github.com/YuminosukeSato/ironkernel #Ironkernel #Rust #ParallelProcessing #GitHub #HackerNews #ngated
How HN: Ironkernel – Python expressions, Rust parallel
https://github.com/YuminosukeSato/ironkernel
#HackerNews #HackerNews #Ironkernel #Python #Rust #Parallel #Programming
How HN: Ironkernel – Python expressions, Rust parallel
https://github.com/YuminosukeSato/ironkernel
An exercise to help build the right mental model for Python data.
- Solution: https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_videos/refs/heads/main/exercises/exercise4_mg.py&play
- Explanation: https://github.com/bterwijn/memory_graph?tab=readme-ov-file#python-data-model
The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening.
#Python #programming #memory_graph

`jsondiff-jdiff` when run from a Makefile, even trough a wrapper somehow can't find the second file.
Running it or the wrapper manually is without problems.
Can I for once not find an edge case?