Im new in pandas so would like to ask some help according to excel file. Here I have some sheet with column 1:
Index Column1
1 PF7293
2 NodeB Name=SN5208, LogicRNCID=106
3 KL5083
4 Label=DL7765A3U-2, CellID=28643, LogicRNCID=201
and I wanna create another column2 that should have some word from column1 and look like that:
Index Column2
1 PF7293
2 SN5208
3 KL5083
4 DL7765
in excel we used MID. I would like to do the same using pandas. Thank you!
Question 2
New sheet looks like that:
Column1 Column2
KL7110 BTS works
KS5007 BSS works
KL5066 Planned works
KL5147 Planned works
KL5066 Unplanned work
KL5077 Power work
KL5077 Power work
AN9045 MW work
I wanna delete same value from Column 2 for one value in column1. For example here is 2 KL5077 in column1 with same value in column2 I would Like to delete one of them. And second problem here is 2 KL5066 in Column1 with different value in Column2 and in this case I would like to put values in Column2 together like "Planned work/Unplanned work". Hope I ve explained well))