'Dataframe column match with list and create new columns
I have data frame DF column A , check how much List a=["enter", 'Enter', 'Click', 'click'] available in data frame column,
and create another column B on the same names. i want to my data frame to look like this :
DF= A
"enter Username"
"click UserBox"
"Enter Password"
"Click login"
"click checkbox"
"Enter Phonenumber"
OUTPUT :
DF= A B
"enter Username" enter
"click UserBox" click
"Enter Password" Enter
"Click login" Click
"click checkbox" click
"Enter Phonenumber" Enter
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
