how to find the count of one element in a dataframe collum in python code example Example: count elements in columns pandas df['COL_NAME'].count(axis=1)