Skip to content
3 min read · Tags: grouping text filtering plotly plotting joins

Bamboo Weekly #141: Argentina

Get better at: Working with CSV, working with Excel, grouping, joining, dates and times, and plotting.

Bamboo Weekly #141: Argentina

Argentina is famous for many things, but among these is (sadly) its history of economic trouble. It has defaulted on its bonds nine times since achieving independence (https://en.wikipedia.org/wiki/Economic_history_of_Argentina), and has long suffered from high inflation.

President Javier Milei, a libertarian economist, came into office nearly two years ago, promising to improve the economy, including reducing inflation. And indeed, inflation has declined dramatically since he came into office. It also appears that the number of people below the poverty line has dropped by a large degree.

But Argentina is still having a tough time. I'm not an economist, but my impression is that every foreign-currency transaction flows (directly or indirectly) through Argentina's central bank. If people and companies in Argentina import more than they export, or if lots of people convert their money to dollars because they don't believe in the future of the peso, then the central bank will spend its dollars faster than it gets them. Eventually, the bank would run out of dollars.

That's a problem not only because international trade requires dollars, but also because Argentina pays its debts (e.g., bonds) in dollars. And it uses dollars to defend the peso.

The Trump administration has decided to give Argentina $20 billion to beef up its foreign currency reserves. (And yes, "beef up" is a sad attempt at an Argentina cattle joke.) That would give Milei more economic breathing room, which would, he and Trump both hope, also give him a political advantage in mid-term elections on Sunday, October 26th.

Economist Paul Krugman is very skeptical that this bailout would work. He also wonders if this is an attempt to help American hedge funds that bet on Milei's economic success. Even if you don't buy his cynicism, his economic analysis is worth reading (https://paulkrugman.substack.com/p/bailing-out-bessents-buddies-bets).

This week, we'll look at a few Argentine economic measures, including inflation, the central bank's currency reserves, and the peso-to-dollar exchange rate. We'll also see just how big Trump's proposed bailout is relative to the central bank's reserves.

Data and five questions

This week's data comes from several sources:

Learning goals this week Joining and merging, correlations, grouping, and plotting.

Paid members, including subscribers to my LernerPython membership program (https://LernerPython.com) can download the data files from the end of this message. Paid members are also invited to monthly office hours, can download my Jupyter/Marimo notebooks, and can also open the notebooks with a single click in their browsers.

Here are my five tasks and questions. I'll be back tomorrow with my solutions and explanations: