Quantcast
Channel: Active questions tagged row - Stack Overflow
Viewing all articles
Browse latest Browse all 479

How can i merge rows according to column name

$
0
0

I want "an b column value" add to "other b column value" which are same "a" column values

for python ↓↓↓

Column AColumn B
title115
title212
title218
title38
title313
title47

I have this dataframe ↑

How can i transform to this one ↓

Column AColumn B
title115
title230
title321
title47

Viewing all articles
Browse latest Browse all 479

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>