我有一个如下数据框:
Districtname pincode
0 central delhi 110001
1 central delhi 110002
2 central delhi 110003
3 central delhi 110004
4 central delhi 110005
Run Code Online (Sandbox Code Playgroud)
如何根据列DistrictName删除行并选择第一个唯一值
我想要的输出:
Districtname pincode
0 central delhi 110001
Run Code Online (Sandbox Code Playgroud)