---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-9-46477dc58643> in <module>()
4 # a classe do texto é um atributo do nó do grafo
5 for k,v in enumerate(tweets.klass()):
----> 6 G.add_vertices(sf.Vertex(k, attr={'klass' : v}))
/usr/local/lib/python2.7/dist-packages/sframe/data_structures/sgraph.pyc in add_vertices(self, vertices, vid_field)
651 with cython_context():
652 proxy = self.__proxy__.add_vertices(sf.__proxy__, _VID_COLUMN)
--> 653 return SGraph(_proxy=proxy)
654
655 def add_edges(self, edges, src_field=None, dst_field=None):
/usr/local/lib/python2.7/dist-packages/sframe/cython/context.pyc in __exit__(self, exc_type, exc_value, traceback)
47 if not self.show_cython_trace:
48 # To hide cython trace, we re-raise from here
---> 49 raise exc_type(exc_value)
50 else:
51 # To show the full trace, we do nothing and let exception propagate
KeyboardInterrupt: