EntitySet.replace_dataframe(dataframe_name, df, already_sorted=False, recalculate_last_time_indexes=True)[source]#

Replace the internal dataframe of an EntitySet table, keeping Woodwork typing information the same. Optionally makes sure that data is sorted, that reference indexes to other dataframes are consistent, and that last_time_indexes are updated to reflect the new data. If an index was created for the original dataframe and is not present on the new dataframe, an index column of the same name will be added to the new dataframe.