On Thursday, March 30, 2017 at 12:33:01 AM UTC-4, Nitish kumar wrote:
>
> I am doing text classification using scikit and numpy but  i am getting 
> this error.
> <type 'exceptions.AttributeError'> 'numpy.ndarray' object has no attribute 
> 'lower'
>

Always show your code and the full traceback. Without that, we can't help 
much, other than to point out that somewhere your code either attempts to 
call a .lower() method on an ndarray, or it passes an ndarray to some other 
code that expects a string and tries to call that method.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to