# 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 idno of unique person
0TRACE\_PERSON\_000000000316
1TRACE\_PERSON\_000000000520
2TRACE\_PERSON\_00000000115
.........
313TRACE\_PERSON\_000000099520
314TRACE\_PERSON\_00000009986
315TRACE\_PERSON\_00000009998
##### Code: ```python import matplotlib.pyplot as plt fig = plt.figure(figsize=(10,10)) axes1 = fig.add_subplot(1,1,1) axes1.hist(df_trace_person_count['no of unique person'],bins=72, color='black') axes1.set_xlabel('Count of people') axes1.set_ylabel('Count of clusters') ``` ##### Result: [![image.png](https://bookstack.fscene8.me/uploads/images/gallery/2024-01/scaled-1680-/HTgimage.png)](https://bookstack.fscene8.me/uploads/images/gallery/2024-01/HTgimage.png)