laptop and a wrench

不具合

The FeatureLayer class's query_top_features method returns the error message "AttributeError: 'FeatureLayer' object has no attribute '_query_df'".

ArcGIS API for Python
不具合 ID 番号 BUG-000180522
送信されましたOctober 28, 2025
最終更新日December 30, 2025
適用対象ArcGIS API for Python
見つかったバージョン2.4.1
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
修正されたバージョン2.4.3
ステータスFixed

対処法

If a DataFrame is required, set as_df=False and use the .sdf property:

top = layer.query_top_features(param1, as_df=False).sdf

Leave off the .sdf property to get back a FeatureSet:

top = layer.query_top_features(param1, as_df=False)

再現の手順

不具合 ID: BUG-000180522

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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