I have a PySpark dataframe with two columns A and B. Each of these columns are of string datatype.
A
B
Following is an example of the dataframe<