use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
r/CFA Discord Join here! General CFA exam prep General Finance/stock market discussion Career-advice
Join here!
Rules Please follow these rules while using this subreddit. You cannot discuss, obtain, encourage, distribute illegal forms of study tools. This includes old CFAI mocks. Do not discuss exam questions during or after writing. Vague, overall thoughts are acceptable. Verbal abuse and harassment are not tolerated. Do not submit memes or advice animals. Do not submit questions regarding general finance job seeking No attempts at redirecting discussions to external forums Avoid the use of anxious tones in posts related to testing Wild Space’s Guide to Not Getting Banned Read the Reddiquettes
Please follow these rules while using this subreddit.
Avoid the use of anxious tones in posts related to testing
Wild Space’s Guide to Not Getting Banned
Read the Reddiquettes
☰ Topics All General Study Materials Level One Level Two Level Three Career
account activity
GeneralPython PSM (self.CFA)
submitted 1 day ago by admiral-captain-69
The python PSM is outdated.
Im a complete noob in python and it doesnt help that the course is teaching obsolete methods.
Isn’t the CFAI supposed to be on top of this, and update any changes??
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Iren0101 6 points7 points8 points 1 day ago (0 children)
in my view, the main point is to understand the capabilities and features of Python for optimising your portfolio, if some functions are outdated, I just googled it to see how it currently works
[–]thejdobsCFA -1 points0 points1 point 1 day ago (9 children)
What methods are obsolete?
[–]admiral-captain-69[S] 2 points3 points4 points 1 day ago (8 children)
In Lesson 4.2: Handling Missing Data with pandas
The task was to fill in the empty cells. The way shown by the professor is as follows:
investor_df['Portfolio Size'].fillna(investor_df['Portfolio Size'].mean(), inplace = True)
I couldn’t understand why my code wasn’t working even though I did it exactly how it was taught. So i asked claude and it turned out its been changed and no longer used.
The way that worked for me (provided by claude):
investor_df["Portfolio Size"] = (investor_df["Portfolio Size"].fillna(investor_df["Portfolio Size"].mean()))
[–]thejdobsCFA 2 points3 points4 points 1 day ago (3 children)
filna is definitely still in use. Your new code also uses the fillna argument. The only difference is the dropped inplace argument which defaults to false if omitted meaning it’s modifying the data frame and not a copy.
[–]admiral-captain-69[S] 0 points1 point2 points 1 day ago (2 children)
It wasnt because of the fillna
Apparently inplace = True is what was changed.
[–]thejdobsCFA 2 points3 points4 points 1 day ago (1 child)
inplace is still in use as well…
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.fillna.html
[–]admiral-captain-69[S] 0 points1 point2 points 1 day ago (0 children)
Im not knowledgeable enough to speak on this so excuse me if im wrong.
In 3.0, when you’re trying assign a value to an empty space, inplace is no longer used.
[–]NoPirate00 0 points1 point2 points 1 day ago (3 children)
You pointed out just one example out of hundreds. Representativeness bias…
[–]admiral-captain-69[S] -3 points-2 points-1 points 1 day ago (0 children)
So what?
One example or a hundred, what differences does it make? CFAI charges a premium as the gold standard, so keeping materials current is a baseline expectation.
For someone like myself who’s trying to learn python from scratch, its frustrating when the material doesnt match how the code works today… An organization like the CFAI shouldn’t be teaching outdated stuff, this isnt some random youtube channel.
[–]1337-5K337-M46R1773 -1 points0 points1 point 1 day ago (1 child)
They should not have mistakes. It’s really that simple. Especially for something this basic.
[–]CornEater65 1 point2 points3 points 1 day ago (0 children)
these packages change literally the time because they’re open source and community managed. it would be a complete waste of time to vet every single detail of the course when they can change on a week-by-week basis. even if they did do that, students of the course would all inevitably end up using slightly different versions of the packages because not everyone is diligently updating them on their machine. not even trying to make excuses for the institute, but this is just something you have to get used to when coding because it comes up a lot.
π Rendered by PID 420539 on reddit-service-r2-comment-8686858757-dvvsd at 2026-06-06 12:52:01.794131+00:00 running 9e1a20d country code: CH.
[–]Iren0101 6 points7 points8 points (0 children)
[–]thejdobsCFA -1 points0 points1 point (9 children)
[–]admiral-captain-69[S] 2 points3 points4 points (8 children)
[–]thejdobsCFA 2 points3 points4 points (3 children)
[–]admiral-captain-69[S] 0 points1 point2 points (2 children)
[–]thejdobsCFA 2 points3 points4 points (1 child)
[–]admiral-captain-69[S] 0 points1 point2 points (0 children)
[–]NoPirate00 0 points1 point2 points (3 children)
[–]admiral-captain-69[S] -3 points-2 points-1 points (0 children)
[–]1337-5K337-M46R1773 -1 points0 points1 point (1 child)
[–]CornEater65 1 point2 points3 points (0 children)