Skip to content
Advertisement

Tag: google-natural-language

Need help understanding ‘no attribute’ error message in Google Natural Language API

Situation I’m trying to run Google’s Cloud NLP sentiment analysis on a text field pulled from the Twitter API with Tweepy and then turned into a pandas Dataframe. That Dataframe has a text field called text, which is the tweet content on which I’d like to run the sentiment analysis. This is my reference code: https://cloud.google.com/natural-language/docs/reference/libraries Expectation I was expecting

Advertisement