Reuven M. Lerner
Helping you become fluent with Python and Pandas since 1995.
- Posts
- 485
- Followers
- 167
- Following
- 51
-
#Python methods are stored on a class, not an instance.
Given x.m(), how does Python find it?
The ICPO rule:
- First, look for an attribute on the _i_nstance.
- Not there? Look on the _c_lass.
- Not here? Look on the _p_arent.
- Not there? Look on _o_bject, the final parent. -
I just finished giving my talk at the #PyConUS education summit, "Vibe teaching: #Python training in the age of AI."
What fun!
I've uploaded the slides: https://speakerdeck.com/reuven/vibe-teaching-python-training-in-the-age-of-ai-pycon-us-2026-education-summit
-
By default, every #Python class inherits from "object".
You can see this by checking the __bases__ attribute on a class:
class C:
passprint(C.__bases__) # prints (<class 'object'>,)
__bases__ is a tuple — hinting (correctly) that Python supports multiple inheritance.
-
It's time for #PyConUS! We're in Long Beach, California, near one of the most active ports in the world.
As such, Bamboo Weekly's challenges are about the Port of Long Beach — how much traffic it gets, what is imported, and from where.
Level up your #Python and #Pandas: https://BambooWeekly.com
-
How free is the press in your country? Challenge your #Python #Pandas skills — merging files, pivot tables, and plots — on the most recent data from Reporters Without Borders.
Don't settle for toy data sets. Level up with real data and real challenges with Bamboo Weekly.
Learn more at https://BambooWeekly.com
-
The Strait of Hormuz remains closed. And US gas prices continue to rise.
Bamboo Weekly challenges you to use #Python #Pandas to find where they're highest, how much they've increased — plus create interactive maps.
Level up your data skills every Wednesday!
Check it out: https://BambooWeekly.com
-
The Strait of Hormuz is still closed, and oil prices remain high.
But which are higher, spot prices or oil futures?
In the latest Bamboo Weekly, I give you six #Python #Pandas data-analysis problems to solve about oil prices using public data.
More info: https://BambooWeekly.com
-
Do Americans pay more taxes than in other countries? Do they pay more in income taxes?
Explore OECD data with #Python, #Pandas, Marimo, and Claude Code (plus the new marimo-pair skill) in the latest Bamboo Weekly, and find out!
Read all about it: https://BambooWeekly.com
-
It's tax day in the US — and according to Gallup, Americans think taxes are too high. But... how high are they vs. other countries?
In the latest Bamboo Weekly, I pose 6 questions about taxes. Can you solve them with marimo-pair, Marimo, Claude Code, and #Python #Pandas?
Check it out: https://BambooWeekly.com
-
Happy 3rd anniversary, Bamboo Weekly!
This is issue 156, marking 3 years of weekly Pandas challenges.
This week, we look at Winter Olympic data. Since they love snow so much, we'll use #Polars along with #Python #Pandas.
Check it out, at https://BambooWeekly.com.