pandas str contains ignore case code example
Example 1: python string match ignore case
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')
Example 2: capitalise words in a column pandas
#Cap all words in a string
df.Column1.str.title()