Development/Python(798)
-
변수 선언, 변수에 담겨 있는 값 변경하기
변수 선언변수에 값을 대입하여 변수를 선언해 줍니다. >>> a = 10 >>> print (a + 5) 15 >>> b = 20 >>> print ( b + 5) 25 >>> print (a + b) 30 변수에 담겨 있는 값 변경하기 >>> str = "python" >>> print (str) python >>> print ("I love " + str) I love python >>> str1, str2 = 'My', 'Python' >>> print (str1) My >>> print (str2) Python >>> print (str1 + str2) MyPython
-
geopandas 설치시 에러 해결방법 - Complete output (1 lines): A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. ERROR: Command errored out with..
오류메시지 Complete output (1 lines): A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. C:\CodeLab>pip install geopandas Collecting geopandas Downloading https://files.pythonhosted.org/pac..
-
geopandas installing with pip
geopandas installing with pip · 파이썬 버전 확인 · 운영체제 OS bit 버전 확인 · whl파일 다운로드 · whl파일 설치 파이썬 버전 확인 C:\CodeLab>python --version Python 3.6.5 C:\CodeLab> 운영체제 OS bit 버전 확인 C:\CodeLab>systeminfo | findstr based 시스템 종류: x64-based PC C:\CodeLab> whl파일 다운로드 https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona Fiona‑1.8.11‑cp36‑cp36m‑win_amd64.whl https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely Shapely‑1..
-
XML vs CSV
XML vs CSVCSV 특징입니다.
-
GeoPandas
GeoPandas· 지리정보 데이터 처리의 기하하적 연산과 시각화 등을 도와주는 파이썬 패키지 입니다.· {GeoPandas}는 두 가지의 자료형 GeoSeries와 GeoDataFrame이 있으며 {Pandas}와 다루는 방법에 차이가 없습니다.· {GeoPandas}에는 지리정보 데이터 분석에 유용한 속성과 메서드가 존재합니다.
-
AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' 해결방법
에러메시지 AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' sift = cv2.xfeatures2d.SIFT_create() AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' 해결방법 1 패키지를 설치합니다. pip install opencv-contrib-python C:\CodeLab>pip install opencv-contrib-python Collecting opencv-contrib-python Downloading https://files.pythonhosted.org/packages/ba/0d/40121ed697f6105b9ffafc0e455e955ba8cbff..