u/DrawerEmergency4981

Help with code

I keep getting this error:

for this code:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

bestmass = []

for mass in df_sorted:

if best_ms == (array[array > 7.5]).all():

bestmass.append(best_ms)

print(bestmass)

and i don't know what I am doing wrong

reddit.com
u/DrawerEmergency4981 — 6 days ago
▲ 4 r/Rokuhelp+1 crossposts

Help getting my roku to turn on

I have my dad’s roku tcl tv from around 2019-2021. I got it when he moved last year and had it in storage, I pulled it out when I needed a tv and cannot get it to turn on. Wondering if I need any other cords. Tv was working fine before it was put in storage.(white usb cord in photo was not connected to anything as it was too short)

u/DrawerEmergency4981 — 11 days ago