Just a question guys, I have a pandas dataframe:
In [11]: df = pd.DataFrame([['A', 'B'], ['C', E], ['D', 'C']],columns=['X', 'Y', 'Z']) In [12]: df Out[12]: XYZ 0 ABD 1 CEC
How can I convert to omit all df
elements:
Out[12]: XYZ 0 abd 1 cec
I am looking at the documentation and I have tried the following:
df = [[col.lower() for col in [df["X"],df["Y"], df["Z"]]]] df
However, it does not work. How to omit all elements inside pandas dataframe ?.
source share