Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88854

How to split a column using a delimiter while still retaining its value

$
0
0

I have a dataset as shown below:

Cola                 colb
1.2/1.4/1.5/1.6      A
3.3/5.6              B

I want to have one column

COlA Colb
1.2   A
1.4   A
1.5   A
1.6   A
3.3   B
5.6   B

How do I do this in python


Viewing all articles
Browse latest Browse all 88854

Trending Articles



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