I have a Data Frame Transformer contains various columns, Among are Name and Sampling_Point i want to filter and join them to form another column Sample_gas.
i.e,
Now i had filtered out df.NAME and df.SAMPLING_POINT but now want to join it and assigned it to some other column name called Sample_gas. I had written the code:
df['SAMPLE_GAS']=pd.concat([df.NAME,df.SAMPLING_POINT],axis=1)
but it give me error like:
Wrong number of items passed 2, placement implies 1
Please suggest the changes. The output should look like: