I have dataframe with these columns:
grpby_sum_df.head()
Out[82]:
BusNumber PNode participationFactor normalized Contained by \
0 242514 HQST 1.0 0.000471 HQST
1 242514 ISNE 1.0 0.000471 ISNE
2 242514 NBSO 1.0 0.000471 NBSO
3 242514 NSSO 1.0 0.000471 NSSO
4 242514 NYIS 1.0 0.000471 NYIS
Initial Value ParFac AutoCalc?
0 SPECIFIED 0.000471 NO
1 SPECIFIED 0.000471 NO
2 SPECIFIED 0.000471 NO
3 SPECIFIED 0.000471 NO
4 SPECIFIED 0.000471 NO
I need to create another column called Object with word gen followed by the bus number column in the middle and wrapped by single quotes and number 99 also wrapped by single quotes.
Gen 'BusNumber' '99'
Please advise.