This function displays the first 5 and last 5 rows of a data frame.
Column names are displayed only for the first 5 rows, with ellipses (...
)
in the middle to indicate additional rows.
print_df_head_tail(df, digit = 3)
Invisibly returns the original data frame.
A data frame to display.
An integer specifying the number of decimal places to which the summary statistics should be rounded. Default is 3.