laptop and a wrench

不具合

Using the to_featurelayer function in ArcGIS API for Python returns the error message, "Maximum number of records allowed (1000) exceeded" when publishing the result of the pivot_table function.

最後に公開された状態: October 29, 2021 ArcGIS Online
不具合 ID 番号 BUG-000130651
送信されましたMay 6, 2020
最終更新日June 5, 2024
適用対象ArcGIS Online
見つかったバージョン8.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスKnown Limit

参考情報

- pivot_table results in a MulitLevel index, which is not supported in feature classes. - The maximum records message results because to_featurelayer() has to geocode the results in this case, which can only be accomplished 1000 records at a time. - Flattening the multilevel index with df.stack().reset_index() creates individual records with the multilevel index appropriately transposed for each record. - With some data engineering of column names and using the GeoAccessor.from_xy() method a valid spatial data frame can be created and the to_featurelayer() method used (Although this simply recreates the original feature layer in this case).

対処法

Use the commented out syntax of the last kernel to convert the DataFrame to a CSV file, and publish it. However, this does not always work correctly. Refer to BUG-000129950 for more information.

再現の手順

不具合 ID: BUG-000130651

ソフトウェア:

  • ArcGIS Online

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動