I have a dataframe like the following:
Transaction No. Alloted Quantity Rate Amount Docket
0 2521 15 1072 16080 https://xxxx/ALT_2521.JPG
1 2524 15 1072 16080 https://xxxx/ALT_2524.JPG
2 2526 15 1072 16080 https://xxxx/ALT_2526.JPG
3 2532 15 1072 16080 https://xxxx/ALT_2532.JPG
4 2538 16 1072 17152 https://xxxx/ALT_2538.JPG
5 2547 12 1020 12240 https://xxxx/ALT_2547.JPG
6 2552 15 1072 16080 https://xxxx/ALT_2552.JPG
7 2554 10 1072 10720 https://xxxx/ALT_2554.JPG
8 2558 15 1020 15300 ['https://xxxx/ALT_2558.JPG', 'https://xxxx/AL...
9 2560 14 1020 14280 ['https://xxxx/ALT_2560.JPG', 'https://xxxx/AL...
10 2564 15 1072 16080 ['https://xxxx/ALT_2564.JPG']
11 2570 15 1020 15300 ['https://xxxx/ALT_2570.JPG']
12 2574 15 1020 15300 ['https://xxxx/ALT_2574.JPG']
where in the Docket
column there are some URLs, this column can contain the direct URL or list of URLs or list of URL. How do I destring the URLs and show them without the list?
Expected Output
Transaction No. Alloted Quantity Rate Amount Docket
0 2521 15 1072 16080 https://xxxx/ALT_2521.JPG
1 2524 15 1072 16080 https://xxxx/ALT_2524.JPG
2 2526 15 1072 16080 https://xxxx/ALT_2526.JPG
3 2532 15 1072 16080 https://xxxx/ALT_2532.JPG
4 2538 16 1072 17152 https://xxxx/ALT_2538.JPG
5 2547 12 1020 12240 https://xxxx/ALT_2547.JPG
6 2552 15 1072 16080 https://xxxx/ALT_2552.JPG
7 2554 10 1072 10720 https://xxxx/ALT_2554.JPG
8 2558 15 1020 15300 https://xxxx/ALT_2558.JPG, https://xxxx/ALT_2...
9 2560 14 1020 14280 https://xxxx/ALT_2560.JPG, https://xxxx/ALT_35...
10 2564 15 1072 16080 https://xxxx/ALT_2564.JPG
11 2570 15 1020 15300 https://xxxx/ALT_2570.JPG
12 2574 15 1020 15300 https://xxxx/ALT_2574.JPG