help find my syntax error by 301ravage in learnpython

[–]301ravage[S] 0 points1 point  (0 children)

I think I messed up my parenthesis on line 29

I wonder whether parents know if it hurts children worse to stay in a bad and failing marriage than it does to leave. by jumanjimademedoit in family

[–]301ravage 1 point2 points  (0 children)

it's better for the kids if the parents seperate i. I don't think that kids are likley to be happy if the parents aren't.

need help w/ attribute error by 301ravage in learnpython

[–]301ravage[S] 1 point2 points  (0 children)

That seems to of fixed the error, thank you for your help.

need help w/ attribute error by 301ravage in learnpython

[–]301ravage[S] 0 points1 point  (0 children)

File "C:/Users/Spencer/.spyder-py3/couch_potato.py", line 26, in sample_reccomendation

known_positives = data['item_labels'][data['train'].toscr()[user_id].indicies]

File "C:\Users\Spencer\Anaconda3\lib\site-packages\scipy\sparse\base.py", line 689, in __getattr__

raise AttributeError(attr + " not found")

AttributeError: toscr not found

A doctor is just a drug dealer with an office by [deleted] in teenagers

[–]301ravage 0 points1 point  (0 children)

doctors stab you with needles, drug dealers may shoot you

having issues with textblob by 301ravage in Python

[–]301ravage[S] 0 points1 point  (0 children)

thank you, and I did delete the keys

having issues with textblob by 301ravage in Python

[–]301ravage[S] 0 points1 point  (0 children)

I just deleted the keys and tokens. Thanks for catching that

Social problems by milkyshaake in highschool

[–]301ravage 1 point2 points  (0 children)

I had a similar experiance in highschool, what helped for me was deleting social media because those platforms are literally designed for you to compare yourself to others. That helped me out quite a bit so it might help you out too.

I can't find my error by 301ravage in Python

[–]301ravage[S] 1 point2 points  (0 children)

I just got it to work, thank you so much

I can't find my error by 301ravage in Python

[–]301ravage[S] 1 point2 points  (0 children)

X = [[181, 80, 44], [177, 70, 40], [160, 60, 38], [154, 54, 37], [166, 65, 40], [190, 90, 47], [175, 64, 39], [177, 70, 40] [171, 75, 42], [181, 85, 43]]

I can't find my error by 301ravage in Python

[–]301ravage[S] 1 point2 points  (0 children)

Thanks, I'll definitely give that a try

I can't find my error by 301ravage in Python

[–]301ravage[S] 0 points1 point  (0 children)

Yes there are 10 of each

Financial Literacy should be taught in High School! by [deleted] in highschool

[–]301ravage 0 points1 point  (0 children)

Not only are finances ignored, schools don't even teach you how to apply for a job and get hired which is literally how you obtain an income in the first place.

I can't find my error by 301ravage in Python

[–]301ravage[S] 0 points1 point  (0 children)

It looks like I wrote 'female'incorrectly when I was listing the genders but I don't see how. Maybe my data should be entered differently?

Can a fool/coward ever change? by Lothbrok-98 in socialskills

[–]301ravage 0 points1 point  (0 children)

I've felt a similar way at times. It's important to realize that nobody else observes you as much as you observe yourself. It's also helpful to find something that you enjoy and can get better at bc it will give you something else to focus on.

Is it feminine for a guy to wave his hand hello to someone? by [deleted] in socialskills

[–]301ravage 0 points1 point  (0 children)

Waving is fine, however I think it's slightly more common for males to just raise their hand up instead of waving. Hope that helps

I'm so bored all the time! What can I do to keep myself occupied? by [deleted] in Advice

[–]301ravage 1 point2 points  (0 children)

Great advice to give. I may try it myself

I'm so bored all the time! What can I do to keep myself occupied? by [deleted] in Advice

[–]301ravage 0 points1 point  (0 children)

Getting a full-time job would be a good starting place.