Skip to content

[lab-web-scraping-multipages] Karolin Diede - #6

Open
KaroD123 wants to merge 1 commit into
Ironhack-Data-0621-Remote:mainfrom
KaroD123:main
Open

[lab-web-scraping-multipages] Karolin Diede#6
KaroD123 wants to merge 1 commit into
Ironhack-Data-0621-Remote:mainfrom
KaroD123:main

Conversation

@KaroD123

@KaroD123 KaroD123 commented Oct 9, 2021

Copy link
Copy Markdown

No description provided.

@ArabellaCM

Copy link
Copy Markdown

Hi Karo! I have had a look at your Billboard Lab 🎼 and the extra questions

Billboard lab - perfect! You did everything efficiently and clearly and your final dataframe is just as it should be.

Extra questions - You made a good effort in these extra tasks. Next steps would be to present cleaner final solutions (e.g. the length of the list in the second question, formatting the names in the FBI list cleanly and getting a cleaner solution for the wikipedia languages question)

Here is an example for the last question:

df = pd.DataFrame(list(zip(lan_text, article_count)), columns = ['Language', 'Count'])
df["Count"]=df["Count"].apply(lambda x:x.getText())
df 
Language Count
0 English 6 383 000+
1 日本語 1 292 000+
2 Español 1 717 000+
3 Deutsch 2 617 000+
4 Русский 1 756 000+
5 Français 2 362 000+
6 中文 1 231 000+
7 Italiano 1 718 000+
8 Português 1 074 000+
9 Polski 1 490 000+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants