laptop and a wrench

Bogue

Overwrite a hosted feature service using ArcGIS API for Python converts it to a hosted table when the source data is an Excel file.

Dernière publication: September 25, 2020 ArcGIS API for Python
Numéro d’ID de bogue BUG-000133695
EnvoiSeptember 9, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.8.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction1.9.1
StatutFixed

Solution de contournement

Use CSV input data instead of Excel. It is possible to convert Excel to CSV in Python using pandas.

import pandas as pd

data_xls = pd.read_excel(r"<PATH TO EXCEL FILE>", "<EXCEL SHEET NAME>", index_col=None)

data_xls.to_csv(r"<PATH TO OUTPUT>", encoding='utf-8')

Étapes pour reproduire

ID de bogue: BUG-000133695

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement