我想像这样编码纬度和经度:
location_start = geohash2.encode(lat_start,lon_start, g)
并得到此错误:
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
我不知道我的价值观,他们所处的格式或geodash2是否有问题。
我应该在哪里使用a.empty,a.bool(),a.item(),a.any()或a.all()?