Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: NoneType' object is not subscriptable
Post: RE: NoneType' object is not subscriptable

(Sep-12-2019, 07:41 PM)buran Wrote: normaly traceback would have the line numbers and I don't see anywhere in your code cell_name in async-def-wrapper()This is the problem bro! I couldn't find any l...
shane1236 Data Science 9 7,185 Sep-12-2019, 07:45 PM
    Thread: NoneType' object is not subscriptable
Post: RE: NoneType' object is not subscriptable

(Sep-12-2019, 07:33 PM)buran Wrote: This is the same code, and the error I got is "NameError Traceback (most recent call last) cell_name in async-def-wrapper() NameError: name 'sequences' is not def...
shane1236 Data Science 9 7,185 Sep-12-2019, 07:36 PM
    Thread: NoneType' object is not subscriptable
Post: RE: NoneType' object is not subscriptable

(Sep-11-2019, 12:17 PM)buran Wrote: (Sep-10-2019, 08:20 PM)buran Wrote: I guess you want to return results As I said I think you want to return results line 12: return resultsBro Still in problem,...
shane1236 Data Science 9 7,185 Sep-12-2019, 07:26 PM
    Thread: NoneType' object is not subscriptable
Post: RE: NoneType' object is not subscriptable

(Sep-10-2019, 08:20 PM)buran Wrote: 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 resultsI agreed B...
shane1236 Data Science 9 7,185 Sep-11-2019, 12:05 PM
    Thread: NoneType' object is not subscriptable
Post: NoneType' object is not subscriptable

Can someone look at the issue. the problem lies at last two line 'x_val =x_train[:10000] partial_x_train = x_train[10000:]' Though I'm not using putting other libraries, however, assuming that they ar...
shane1236 Data Science 9 7,185 Sep-10-2019, 07:39 PM
    Thread: 'int' object does not support item assignment
Post: RE: 'int' object does not support item assignment

yes I want the same as you said can you just code it for me. Also it runs when I put app=[], however, it doesnot print anything can you look into that?? (Aug-13-2019, 12:33 PM)buran Wrote: I want t...
shane1236 General Coding Help 5 7,504 Aug-13-2019, 01:09 PM
    Thread: 'int' object does not support item assignment
Post: 'int' object does not support item assignment

Can someone correct that kind of error? def new(app): app=0 for i in range(10): app[i]=i+1 print(app)
shane1236 General Coding Help 5 7,504 Aug-13-2019, 12:17 PM
    Thread: Plots issue
Post: RE: Plots issue

**think** **think** **think** **think** NO response
shane1236 Data Science 1 2,080 Aug-06-2019, 10:00 AM
    Thread: Plots issue
Post: Plots issue

I'm plotting the few figures however, unable to plot below is my code. Kindly guide me. #!/usr/bin/env python3 import matplotlib.pyplot as plt import matplotlib.gridspec as gspec import numpy as np...
shane1236 Data Science 1 2,080 Aug-06-2019, 07:10 AM
    Thread: AttributeError: 'area' object has no attribute 'areaofcircle'
Post: RE: AttributeError: 'area' object has no attribute...

@cvsae, Thanks for your help, well, I'm curious to know why should we put radius=0, and if i we don't then how to handle the problem. Thanks (Aug-01-2019, 10:38 AM)ThomasL Wrote: BTW: what should t...
shane1236 General Coding Help 5 4,140 Aug-02-2019, 06:44 AM
    Thread: AttributeError: 'area' object has no attribute 'areaofcircle'
Post: RE: AttributeError: 'area' object has no attribute...

what do you mean? where should I declare radius? and is it only problem for radius or other parameters like length and etc..
shane1236 General Coding Help 5 4,140 Aug-01-2019, 10:31 AM
    Thread: AttributeError: 'area' object has no attribute 'areaofcircle'
Post: AttributeError: 'area' object has no attribute 'ar...

Hello everyone, I'm facing trouble in the following code, can somebody help me.I am new here even I don't know how to post my code sorry about that. One more thing I want to understand in the first ...
shane1236 General Coding Help 5 4,140 Aug-01-2019, 09:56 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020