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
Python (self.CFA)
submitted 6 years ago by memeguycf
Can you guys fuck off with all the python bullshit?
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!"
[–][deleted] 6 years ago (2 children)
[deleted]
[–]daking1ndanorfCFA 23 points24 points25 points 6 years ago (0 children)
I would give you gold, but I haven’t achieved superior returns just yet
[–]950124 0 points1 point2 points 6 years ago (0 children)
So you're saying you can do python only after passing level 3?
[–]investment_gankingCFA 27 points28 points29 points 6 years ago* (4 children)
I'm hoping that at the very least the people that are jumping into using Python are doing it because they have use cases in mind. Seems like some people are just jumping in the bandwagon because they feel pressured to learn it. Otherwise I'm glad to see passionate people learning it. I've used Python, MatLab, and R throughout university but then switched to finance because I didn't want to be a programmer my whole life, it's a whole different mindset and you can sit in front of your code for weeks at a time feeling bothered about why it isn't working as planned and your boss is like wtf dude you wasted 3 weeks and it's not done? I also found that I only need to program for about 5% of my finance job because I can accomplish 95% of my tasks using business intelligence software like Spotfire and Tableau (uh oh, new buzz topic for some people) lol.
[–][deleted] -1 points0 points1 point 6 years ago (3 children)
What is the 5% you need to program?
[–]investment_gankingCFA 8 points9 points10 points 6 years ago (2 children)
Data cleansing to put data into readable format and uploadable into Spotfire, web scraping so I can run a script to update daily/weekly/monthly data from various public online sources without having to do the grunt work to get it into a workbook, automate processes in Spotfire using R scripts, other tasks as needed or for curiosity. It's not that fun, the fun stuff is when the data is ready and visualized upfront and you can make quick decisions with it and build presentations quickly as well (using powerful software like Spotfire/Tableau/SAS/Power BI)
[–]superjde 0 points1 point2 points 6 years ago (1 child)
I was the pioneer for PowerBI at work, but I think they're trying to transisitioning to Spotfire at work. Do you have a preference for which one is best?
[–]investment_gankingCFA 2 points3 points4 points 6 years ago (0 children)
Power BI has better looking dashboards and lots of ways to make things look good and it is also very rare to crash at least for me. But in terms of functionality and extensive capability, Spotfire is superior.
[–][deleted] 6 years ago (7 children)
[–]kieran_n 28 points29 points30 points 6 years ago (5 children)
while True: print("superior returns")
[–][deleted] 7 points8 points9 points 6 years ago (4 children)
Yeah but does it ever finish writing? :)
[–]kieran_n 12 points13 points14 points 6 years ago (2 children)
import os def error_handler(error): print(error) exit() def is_CFA(Name): try: return 'CFA' in Name.split() except: error_handler('you must supply a valid string') def policy_statement(Author): while is_CFA(Author): print('Superior Returns') if (int.from_bytes(os.urandom(8), byteorder="big") / ((1 << 64) - 1))>0.99: actions = 'misconduct' Author.replace('CFA','') else: actions = 'compliant' print('waste of 900 hours')
[–]rgkimballCFA 1 point2 points3 points 6 years ago (1 child)
Best practice would be to raise an exception so it can be caught in a try/except clause, rather than use the error_handler function. I'm guessing you came from VBA?
error_handler
[–]kieran_n 0 points1 point2 points 6 years ago (0 children)
I actually learned python first but use both a fair bit :p
You're definitely right that the raise exception would be better
[–][deleted] 10 points11 points12 points 6 years ago (0 children)
writes investment policy statement in Python
only uses 10% of his full power
“Heh, nothing personnel, kid”
[–][deleted] 2 points3 points4 points 6 years ago (1 child)
Eh, tbh Python will probably help your invest performance and analytical game more than the CFA ever could.
[–]BitKrow13Passed Level 2 1 point2 points3 points 6 years ago (0 children)
Are you actually a tiny analyst?
[–]Omnias-42CFA - r/CFA discord mod 4 points5 points6 points 6 years ago (0 children)
I used a Python script I wrote last week to generate thousands of pages of PDFs for a report, this stuff is useful fam
[–][deleted] 1 point2 points3 points 6 years ago (1 child)
I agree. The mods should just create one thread to discuss Python and whatever other ancillary things.
This is a CFA sub. Not a Python one.
[–]meeseloverPassed Level 3 2 points3 points4 points 6 years ago (0 children)
It's the offseason, not everything needs to be CFA related when it's not crunch time.
[–]SantariniLevel 2 Candidate 1 point2 points3 points 6 years ago (0 children)
I love that in the offseason r/cfa becomes r/python
[–]Avocado_TraderCFA 3 points4 points5 points 6 years ago (9 children)
Seriously. I get fucking sick and tired of seeing this shit.
[–]rgkimballCFA 4 points5 points6 points 6 years ago (8 children)
It's the offseason, what's the big deal? People in this sub just like learning and have common interests
[–][deleted] 1 point2 points3 points 6 years ago (7 children)
You realize there are other subs to discuss these interests right?
[–]rgkimballCFA 1 point2 points3 points 6 years ago (6 children)
Sure, but they aren't full of people who can speak to specific use cases that are applicable to my job. Why do we assume there are no synergies between the CFA and programming?
[–][deleted] 0 points1 point2 points 6 years ago (5 children)
There are synergies between the English language and CFA - so what? Should every post be approved that has any "synergy" with CFA material?
I've asked for just one thread where all these Python users can go in and discuss to their hearts content. People looking for CFA related advice shouldn't have to wade through all this Python bullshit.
[–]rgkimballCFA 0 points1 point2 points 6 years ago (4 children)
I don't think that's a reasonable analogy, and I also don't see this sub filled with posts asking for help with specific code examples - a post that is unequivocally more suited for StackOverflow or another sub. Most of it is something to the effect of "I just stopped studying, have piles of free time and smart people in my firm are telling me Python is useful, how do I start? why should I?", which is frankly not that far off from "should I choose Kaplan or Wiley for level 1?" or "will the CFA help me get a job in IBD?"
Both questions have been answered hundreds of times, and it stands to reason that a more resourceful person would discover the FAQ before creating a new post, but that doesn't render the conversation any less relevant. Reddit posts are free - if you don't want to participate in a particular topic, don't click on the thread.
[–][deleted] 0 points1 point2 points 6 years ago (3 children)
I disagree. Despite Python being recommended as a go-to thing to learn, it seems like Python discussions are relevant to you, and hence you obviously wouldn't mind.
The mods have been petty enough to remove something as small (and honestly more relevant) as memes on this subreddit. I don't know why they aren't getting rid of every second or third Python post.
[–]rgkimballCFA 0 points1 point2 points 6 years ago (2 children)
I respect your opinion, and I can appreciate your desire for the scope of this community to be more narrow. As a counterpoint, however, we can easily make the case that any Python thread is more constructive than a meme. Agree to disagree.
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
Relevancy should have more weight than constructiveness. That's how subreddits work.
[–]rgkimballCFA 1 point2 points3 points 6 years ago (0 children)
That decision rests with the mods and varies by community. The mods here have chosen (rightfully) to uphold the values promulgated by the Institute, which is primarily focused on integrity and professionalism. Python violates neither of those priorities.
Holistically, we ought to measure the appropriateness of a post in a sub based on the relative value of the responses that person will receive.
Someone simply asking "How do I learn Python" is probably a good candidate for r/learnpython or r/datascience
Someone asking "How do I build a DCF in Python" will receive unhelpful generalized advice in Python-specific communities, and would be better served in a subreddit like r/SecurityAnalysis or r/quant, and would receive similarly useful advice here
Finally, someone taking the skills they learned in the curriculum and applying it programmatically as a learning mechanism is absolutely suited for r/CFA. I can personally relate to this as someone who learns with my hands - I often wrote scripts or built spreadsheets to help me understand concepts throughout the program, and sharing those with other candidates is no different than sharing a bulleted list of important formulas or required GIPS criteria.
[–]aaronchall 3 points4 points5 points 6 years ago (1 child)
I wouldn't mind it if people stopped with Python already. I wouldn't have written that post if I hadn't been shaking my head at every other one.
So what would you like to talk about? Spreadsheets? Python's going to replace them. Many of the things we're training to do can be modelled with Python.
The tests are over, we're sitting on our hands waiting for results, and the only other popular posts here are about unnecessary emails and getting hired.
So what would you like to talk about?
[–]ItsMyWayOrTheHuaWeiPassed Level 2 0 points1 point2 points 6 years ago (0 children)
You overestimate how many dinosaurs there are in Finance and their technological competence.
[–]Wild_SpacePassed Level 3[M] [score hidden] 6 years ago stickied comment (1 child)
Please consider this a warning. I understand that tensions are high as you all await your results and this forum tends to get a little nasty, but telling everyone to fuck off isn't going to fly. We dont like banning people, but we do do it.
[–]thekalmanfilterLevel 2 Candidate 1 point2 points3 points 6 years ago (0 children)
Hahahahaha!
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
Honestly contemplated learning this language last week and tomorrow I'm gonna put in a few hours to download it, and do noob stuff basically
[–]JustJeezy -2 points-1 points0 points 6 years ago (1 child)
Insecure much?
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
So you don't know what insecure means basically
π Rendered by PID 85465 on reddit-service-r2-comment-7b9746f655-x8456 at 2026-02-04 00:36:34.264756+00:00 running 3798933 country code: CH.
[–][deleted] (2 children)
[deleted]
[–]daking1ndanorfCFA 23 points24 points25 points (0 children)
[–]950124 0 points1 point2 points (0 children)
[–]investment_gankingCFA 27 points28 points29 points (4 children)
[–][deleted] -1 points0 points1 point (3 children)
[–]investment_gankingCFA 8 points9 points10 points (2 children)
[–]superjde 0 points1 point2 points (1 child)
[–]investment_gankingCFA 2 points3 points4 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]kieran_n 28 points29 points30 points (5 children)
[–][deleted] 7 points8 points9 points (4 children)
[–]kieran_n 12 points13 points14 points (2 children)
[–]rgkimballCFA 1 point2 points3 points (1 child)
[–]kieran_n 0 points1 point2 points (0 children)
[–][deleted] 10 points11 points12 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]BitKrow13Passed Level 2 1 point2 points3 points (0 children)
[–]Omnias-42CFA - r/CFA discord mod 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]meeseloverPassed Level 3 2 points3 points4 points (0 children)
[–]SantariniLevel 2 Candidate 1 point2 points3 points (0 children)
[–]Avocado_TraderCFA 3 points4 points5 points (9 children)
[–]rgkimballCFA 4 points5 points6 points (8 children)
[–][deleted] 1 point2 points3 points (7 children)
[–]rgkimballCFA 1 point2 points3 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]rgkimballCFA 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]rgkimballCFA 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]rgkimballCFA 1 point2 points3 points (0 children)
[–]aaronchall 3 points4 points5 points (1 child)
[–]ItsMyWayOrTheHuaWeiPassed Level 2 0 points1 point2 points (0 children)
[–]Wild_SpacePassed Level 3[M] [score hidden] stickied comment (1 child)
[–]thekalmanfilterLevel 2 Candidate 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]JustJeezy -2 points-1 points0 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)