Geographic Information Systems Asked by Francis Odero on November 1, 2021
I am trying to analyze GeoJSON data using Pandas library but getting this error:
Mixing dicts with non-Series may lead to ambiguous ordering.
How am able to eliminate the error since the output i need to incorparate in Django view and i dont want to use GeoPandas?
What are you trying to do exactly?
I got the error when trying to create a Pandas data frame with
import pandas as pd
df = pd.DataFrame(data=data)
Where data
was a dict containing the data for the data frame.
The problem was that one of the values within the dict was a dict itself. I removed the corresponding entry and the problem went away.
Answered by CGFoX on November 1, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP