@rock_bt wrote:
Hey all,
I have a DataFrame like:
df = pd.DataFrame({'B': ['B2', 'B3', 'B4', 'B5'], 'D': ['D2', 'D3', 'D4', 'D5']}And I want to create a ‘Key’ column
'key': ['B2D2','B2D3','B2D4'....'B3D2','B3D3'......'B5D5']Please anyone tell me how to do in python
Thank You
Posts: 4
Participants: 2