import pandas as pd
import numpy as np
# Create a Series with Text data
s = pd.Series(["test", "Pandas", "DataAnalysis",
"PYTHON", np.nan, "gcptutorials"], dtype="string")
# Convert all elements of Series to lower case
s = s.str.lower()
print(s)
=====Output=====
0 test
1 pandas
2 dataanalysis
3 python
4 <NA>
5 gcptutorials
dtype: strin