две ячейки:
Код: Выделить всё
import tkinter as tk
import pandas as pd
import numpy as np
import os
import arcpy
pd.set_option("display.max_rows", 100)
Код: Выделить всё
aprx = arcpy.mp.ArcGISProject('Current')
mp = aprx.listMaps('Map')[0] # pass .listMaps() the name of the map ('Map' by default)
#lyr = mp.listLayers('properties')[0] # pass .listLayers() the name of the layer in case we need it
props = pd.DataFrame.spatial.from_featureclass('properties')
lines = pd.DataFrame.spatial.from_featureclass('Service line')
inventory = pd.DataFrame.spatial.from_featureclass('CountyParcelsDownload selection') #insert your inventory name here! Make sure it is the final representation of the inventory
Мне бы хотелось, чтобы Dfs был доступен для простого обеспечения/контроля качества длины, сравнения значений заполнения столбцов с исходными данными и т. д.
Подробнее здесь: https://stackoverflow.com/questions/791 ... is-pro-pyt