-
-
Save amankharwal/087d1c2495f2bf9d94050e5cb351e2a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from GoogleNews import GoogleNews | |
news = GoogleNews(period='1d') | |
news.search("India") | |
result = news.result() | |
import pandas as pd | |
data = pd.DataFrame.from_dict(result) | |
data = data.drop(columns=["img"]) | |
data.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment