开始使用免费开始使用

导入并探索数据

在本练习中,您将开始读取并探索两个全新数据集:

对于以上每个数据集,请完成以下步骤:导入所需的包,使用 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()
编辑并运行代码