Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 NoneType' object is not subscriptable
#2
your vectorize_sequences function does not return anything (i.e. just return statement on line 12) so it returns None
I guess you want to return results
shane1236 likes this post
Quote

Top Page

Messages In This Thread
RE: NoneType' object is not subscriptable - by buran - Sep-10-2019, 08:20 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  AttributeError: 'NoneType' object has no attribute 'all' synthex 2 1,414 Mar-07-2019, 11:11 AM
Last Post: synthex
  TypeError: 'method' object is not subscriptable ayaz786amd 1 27,425 Nov-24-2018, 11:16 AM
Last Post: j.crater

Forum Jump:


Users browsing this thread: 1 Guest(s)