import pandas as pd
import matplotlib.pyplot as plt
from sas7bdat import SAS7BDAT # Import sas7bdat package
with SAS7BDAT('sales.sas7bdat') as file: # Save file to a DataFrame
df_sas = file.to_data_frame()
print(df_sas.head()) # Print head of DataFrame
pd.DataFrame.hist(df_sas[['P']]) # Plot histogram of DataFrame features
plt.ylabel('count')
plt.show()