Feb-26-2022, 07:05 PM
Hi @Blacktime2 ,
Welcome to the forum. You are not very clear in describing what goes wrong. Do you get an error message? Is te result not as expected?
When reading the manual of DataFrame.sort_values(by, axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last', ignore_index=False, key=None) I see there is a parameter "inplace". If that parameter is False (default) the method returns a sorted dataframe. If you want to sort "tableau4", then add parameter "inplace=True".
Welcome to the forum. You are not very clear in describing what goes wrong. Do you get an error message? Is te result not as expected?
When reading the manual of DataFrame.sort_values(by, axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last', ignore_index=False, key=None) I see there is a parameter "inplace". If that parameter is False (default) the method returns a sorted dataframe. If you want to sort "tableau4", then add parameter "inplace=True".