匯入並探索資料
在這個練習中,你會開始讀取並探索兩個全新的資料集:
- 首先,剛果東部的手工採礦據點資料集(改編自 IPIS open data)。
- 接著,剛果境內國家公園的資料集(改編自 World Resources Institute)。
對於每個資料集,請匯入必要的套件,使用 geopandas.read_file() 讀取資料,檢視前 5 列與資料的座標參考系統(CRS),並快速做一個視覺化。
本練習屬於課程
在 Python 中處理地理空間資料
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Import GeoPandas and Matplotlib
____
import ____ as ___
# Read the mining site data
mining_sites = ____
# Print the first rows and the CRS information
print(____)
print(____)
# Make a quick visualisation
____
plt.show()