# Pandas # Set max row for dataframe output ```python # max row to display dataframe set to 7 import pandas as pd pd.set_option('display.max_rows', 7) ``` # Combine df with concat ```python # Combine all dataframe with concat frame_format = [df_f0_f1, df_f1_f2, df_f2_f3, df_f3_f4, df_f4_f5] df_all = pd.concat(frame_format, sort = False) ``` # Create histogram from df ##### df\_trace\_person\_count sample:
trace id | no of unique person | |
---|---|---|
0 | TRACE\_PERSON\_0000000003 | 16 |
1 | TRACE\_PERSON\_0000000005 | 20 |
2 | TRACE\_PERSON\_0000000011 | 5 |
... | ... | ... |
313 | TRACE\_PERSON\_0000000995 | 20 |
314 | TRACE\_PERSON\_0000000998 | 6 |
315 | TRACE\_PERSON\_0000000999 | 8 |