본문 바로가기
pandas

geopandas에서 gpkg파일로 저장하기

by ※○○※ 2021. 11. 15.

df.to_file(r"D:\python\df.gpkg", layer='cities', driver="GPKG")

df의 내용을 D:\python\ 폴더 안에 df.gpkg 파일을 생성함.

'pandas' 카테고리의 다른 글

pandas 에서 csv 파일 불러오기  (0) 2021.11.16
geopandas로 shp파일 불러 오기  (0) 2021.11.15