df = pd.DataFrame({'one': pd.Series([1.0, 1, 1, 3]), 'two': pd.Series([1.0,
    2.0, 1, 3]), 'three': pd.Series([1.0, 2.0, 1, 2])})
df['str_list'] = df.apply(lambda row: ' '.join([str(int(val)) for val in
    row]), axis=1)
How to count duplicate rows in pandas dataframe?