Run sentiment analysis
Tags: #newsapi #news #sentimentanalysis #ai #opendata #dataframe
Description: This notebook uses Newsapi to analyze the sentiment of news articles.
from naas_drivers import newsapi, sentiment
data = newsapi.connect().get(
"bitcoin", fields=["title", "image", "link", "description"]
)
sentiment = sentiment.get(data, column_name="title")
data
sentiment
Last modified 1mo ago