I have a dataframe like this:
matrix = [(\'Rhythm sport\', 45.678), (\'Synchr swim\', 52.785), (\'Gymn\',11.355)] df = pd.DataFrame(matrix) print(df.to_string