Aug-28-2021, 10:15 PM
Hi there,
If I replace '==' with '&' in these two lines of my Code,
The desired DataFrame Output is now achieved :-
Eddie Winch
If I replace '==' with '&' in these two lines of my Code,
The desired DataFrame Output is now achieved :-
df['date'].str.contains('Sep|Oct') == df['x'].str.contains('Sep'), df['date'].str.contains('Oct') == df['y'].str.contains('Nov'),Best Regards
Eddie Winch