Commit 0da8bb16 by Krishnan Sanjay


parent 54d69953
Showing with 1 additions and 0 deletions
......@@ -86,6 +86,7 @@ It is up to you to read the documentation on the python xml module if you are co
def _reddit_extract(file)
That returns a Pandas DataFrame with three columns (*title*, *link*, *updated*). On `reddit.xml` your output should be a 25 row, 3 column pandas data frame.
Hint: if you are getting 26 rows, you are probably extracting a dummy header row as well.
### TODO 2. Extract Ticker Symbols
Each title of a reddit post might mention a stock of interest and most use a consistent format to denote a ticker symbol (starting with a dollar sign). For example: "$ISWH Takes Center Stage at Crypto Conference". You will now write a function called extract ticker which given a single title extracts all of the ticker symbols present in the title:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment