I was trying to import a pandas dataframe which contained information about coordinates to use in a layer. However I got the message: The maximum number of records allowed (1000) has been exceeded. This is my code, I am using Jupyter Notebook. coord = all_data[['LATITUDE','LONGITUDE']] imp = gis.content.import_data(coord)
I was trying to import a pandas dataframe which contained information about coordinates to use in a layer. However I got the message:
The maximum number of records allowed (1000) has been exceeded. This is my code, I am using Jupyter Notebook. coord = all_data[['LATITUDE','LONGITUDE']] imp = gis.content.import_data(coord)
Hi Madhava Paliyam,
Your issue might have something to do with the maxRecordCount of the feature service you are accessing. This value defaults to 1,000 but can be increased if needed.
Depending on the number of records you try to import there are two possible solutions:
HTH,
Egge-Jan
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.