Have the following dataframe:
Sometimes the index is duplicate and then I want to change the value in the column ‘Hotspot’. So prograding_feature_polygon_30 should be changed to prograding_feature_polygon_30_1 and the second on index 0 to prograding_feature_polygon_30_2.
The same on index 1, so again the values should be changed to prograding_feature_polygon_30_1 and prograding_feature_polygon_30_2. And so on…
Indexes are not always duplicate and if not, the value in Hotspot should remain the same. Anyone knows an easy way to do this?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.