以下是我的数据:
easting northing
0 791691.927080576 1437680.39363339
1 793112.913527132 1434327.43906808
2 784638.610113 1432232.27512878
3 783627.944140939 1446419.32827866
4 778164.571499577 1438304.57953897
当我使用以下代码时:
def rule(row):
lat, lon = utm.to_latlon(row["easting"], row["northing"], 43, 'P')
return pd.Series({"lat": lat, "long": long})
d4 = d3.apply(rule,axis=1)
我遇到错误:
OutOfRangeError :(“超出范围(必须在100.000 m和999.999 m之间),u'发生在索引0')
有人可以帮我吗?