Lets say I have a dataframe that looks like this:
Select a BW Speed Router Name router_max OK or REPLACE? Firewall Name firewall_max OK or REPLACE?
0 50 XYZ 30.0 REPLACE X 30.0 REPLACE
1 50 XYZ 30.0 REPLACE X NaN N/A
2 50 XYZ 30.0 REPLACE X 30.0 REPLACE
I need an additional column that shows the number of times "REPLACE" occurs in that row (in this case it is the total number of items that need to be replaced).
Any help would be appreciated...I know this is probably pretty basic stuff.