len() failing after filtering sframe

User 3266 | 7/12/2016, 12:41:59 PM

H Guys, I am graphlab v1.8.5 and I am doing the following:

table2014.num_rows() # prints 40000 len(table2014["calculated"]) # prints 40000

correct = table2014[(table2014["calculated"]==table2014["correctValue"])] correct.numcols() #prints 55 correct.numrows()

RuntimeError Traceback (most recent call last) <ipython-input-225-fddb1248e99a> in <module>() ----> 1 correct.num_rows()

C:\Anaconda3\envs\gl-env\lib\site-packages\graphlab\datastructures\sframe.pyc in numrows(self) 2821 numcolumns 2822 """ -> 2823 return self.proxy.numrows() 2824 2825 def num_cols(self):

graphlab\cython\cysframe.pyx in graphlab.cython.cysframe.UnitySFrameProxy.num_rows()

graphlab\cython\cysframe.pyx in graphlab.cython.cysframe.UnitySFrameProxy.num_rows()

RuntimeError: Runtime Exception. Exception in python callback function evaluation: TypeError("unsupported operand type(s) for +: 'float' and 'NoneType'",): Traceback (most recent call last): File "graphlab\cython\cypylambdaworkers.pyx", line 450, in graphlab.cython.cypylambdaworkers.evallambdabysframerows File "graphlab\cython\cypylambdaworkers.pyx", line 221, in graphlab.cython.cypylambdaworkers.lambdaevaluator.evalsframerows File "<ipython-input-193-824057a750a4>", line 1, in <lambda> File "<ipython-input-191-134dafc1e6d7>", line 2, in calcularLiberado TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'

Can anyone help me figure out what is happening?

No Comments