You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Andrea,
i am using google localisation data as input. -cf below-
geoplotlib and pygmet correct versions have been imported.
yet the nature of my data does not seem correct. -KeyError: 'lon', cf below-
Can you help?
tz=getattr(series.dtype, 'tz', None))
File "pandas_libs\index.pyx", line 98, in pandas._libs.index.IndexEngine.get_value
File "pandas_libs\index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value
File "pandas_libs\index.pyx", line 156, in pandas._libs.index.IndexEngine.get_loc KeyError: 'lon'
This may or may not pertain to the issue you are experiencing, but from my own recent issue, I've learned that we may organize or utilize coordinates that follow common vernacular when referring to location, that being latitude followed by longitude. GeoPlotLib seems to adhere to the format established by and on http://geojson.org/, that being longitude and then latitude.
Hi Andrea,
i am using google localisation data as input. -cf below-
geoplotlib and pygmet correct versions have been imported.
yet the nature of my data does not seem correct. -KeyError: 'lon', cf below-
Can you help?
File "pandas_libs\index.pyx", line 98, in pandas._libs.index.IndexEngine.get_value
File "pandas_libs\index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value
File "pandas_libs\index.pyx", line 156, in pandas._libs.index.IndexEngine.get_loc
KeyError: 'lon'
df_course_real['Pickup location lat/long'].head()
Out[22]:
1 48.876389, 2.3584339000000236
2 48.86339, 2.313086
4 48.8410203, 2.3203779
10 48.863203, 2.315618
11 48.862982, 2.312684
Name: Pickup location lat/long, dtype: object
The text was updated successfully, but these errors were encountered: