class_docstr: Derived from the sentiment polarity/subjectivity datasets from
  http://www.cs.cornell.edu/people/pabo/movie-review-data/
  
  Bo Pang and Lillian Lee. ``A Sentimental Education: Sentiment Analysis Using Subjectivity
   Summarization Based on Minimum Cuts'', Proceedings of the ACL, 2004.
class_docstr_tok: ["Derived","from","the","sentiment","polarity\/subjectivity","datasets","from","http",":","\/\/www.cs.cornell.edu\/people\/pabo\/movie-review-data\/","Bo","Pang","and","Lillian","Lee",".","``","A","Sentimental","Education",":","Sentiment","Analysis","Using","Subjectivity","Summarization","Based","on","Minimum","Cuts","''",",","Proceedings","of","the","ACL",",","2004","."]
docstr: Returns
  -------
  pd.DataFrame
  
  I.e.,
  >>> convention_df.iloc[0]
  category                                                    plot
  filename                 subjectivity_html/obj/2002/Abandon.html
  text           A senior at an elite college (Katie Holmes), a...
  movie_name                                               abandon
docstr_tok: ["Returns","--","--","--","-","pd.DataFrame","I.e.",",",">",">",">","convention_df.iloc","[","0","]","category","plot","filename","subjectivity_html\/obj\/2002\/Abandon.html","text","A","senior","at","an","elite","college","(","Katie","Holmes",")",",","a","...","movie_name","abandon"]
code: def get_data():
      """
      Returns
      -------
      pd.DataFrame
  
      I.e.,
      >>> convention_df.iloc[0]
      category                                                    plot
      filename                 subjectivity_html/obj/2002/Abandon.html
      text           A senior at an elite college (Katie Holmes), a...
      movie_name                                               abandon
      """
      try:
          data_stream = pkgutil.get_data(
              "scattertext", "data/rotten_tomatoes_corpus.csv.bz2"
          )
      except:
          url = ROTTEN_TOMATOES_DATA_URL
          data_stream = urlopen(url).read()
      return pd.read_csv(io.BytesIO(bz2.decompress(data_stream)))
  
imports: import bz2
  import io
  import json
  import pkgutil
  import re
  import sys
  from scattertext.Common import POLITICAL_DATA_URL, ROTTEN_TOMATOES_DATA_URL
  import pandas
label_desc: Use image node_id 1 for calling the RottenTomatoes obj's underlying member method code with example usage: obj.get_data() and returns: pd