could anyone help with this issue ?
I got an error on Python like below of the ss.

[enter image description here](https://i.stack.imgur.com/7a5uX.png)

Here is my code:

```
longitude_list = []
for i in range(2, maxRow+1):        
    country = sheet.cell(i,7).value
    if country == "United States":
        longitude = sheet.cell(i,6).value
        longitude_list.append(longitude)
        median = np.median(longitude_list)

for i in range(2, maxRow+1):
    country = sheet.cell(i,7).value
    if country == "United States":
        if median.any() > longitude_list:
            if pdsCnt[2] < allocation:
                sheet.cell(i,25).value = pds[2]
                pdsCnt[2]+=1
            else:
                pdsCnt[3] < allocation
                sheet.cell(i,25).value = pds[3]
                pdsCnt[3]+=1    
print(median)

```

I just wanted to make the condition with this 'if median.any() > longitude\_list:' however, it returns the error.