Question: --python excersise-- a) Download an RSS feed using feed parser. Print it. Hint: News sources has RSS. Filter the data frame you create using pandas.read_html()
--python excersise--
a) Download an RSS feed using feed parser. Print it. Hint: News sources has RSS. Filter the data frame you create using pandas.read_html() in the assignment 14 by checking whether a certain word occur in it.
b) Find the street names in sherlock.txt. Sort these names according to their frequency. Regular expressions should help you.
c) Read the file Annotated_originalText2.csv using pandas.read_csv() function. Print head of the table.
d) Create a new column from the text column in this dataframe using the .str.lower() method. Print head of the Dataframe.
e) Convert all URLs to the token 'httprefs' in the column you created in the assignment 19. Put this new version in a new column in this dataframe. Print head of the dataframe.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
