ความคิดเห็น •

  • @hatcher_
    @hatcher_ ปีที่แล้ว +1

    Does this have to be done using a specific countries.csv file because I attempted to do this with a xls file with columns "country_name", "lat" and "long" and it gave me the following error:
    TypeError Traceback (most recent call last)
    Cell In[71], line 1
    ----> 1 geometry = [point(xy) for xy in zip(-df['long'], df['lat'])]
    Cell In[71], line 1, in (.0)
    ----> 1 geometry = [point(xy) for xy in zip(-df['long'], df['lat'])]
    TypeError: 'tuple' object is not callable
    Tried searching for this in stackoverflow but problems all seem to be different

    • @LeoLogics
      @LeoLogics ปีที่แล้ว

      i need to know the columns you have, in that file i have the colums long and lat