Python Geopandas从shapefile中将空属性值作为零导入

Python Geopandas从shapefile中将空属性值作为零导入,python,shapefile,geopandas,Python,Shapefile,Geopandas,我将使用以下方法将Shapefile读取为geopandas数据帧: import geopandas as gdp df = gdp.read_file('file.shp') 当我读取文件时,空值被加载为零。我需要看到并区分空值和实零。我会: 字段1 字段2 0 5. 楠 0 1. 3.

我将使用以下方法将Shapefile读取为geopandas数据帧:

import geopandas as gdp
df = gdp.read_file('file.shp')
当我读取文件时,空值被加载为零。我需要看到并区分空值和实零。我会:

字段1 字段2 0 5. 楠 0 1. 3.