Код: Выделить всё
import geopandas as gpd
df = gpd.read_file("../Shapefiles/geoBoundaries-LSO-ADM2-all/geoBoundaries-LSO-ADM2.shp")
header = ["shapeName"]
df.to_csv('output.csv', columns = header)
Подробнее здесь: https://stackoverflow.com/questions/791 ... -text-file
Мобильная версия