I have the following data:
import pandas as pd
m1 = [3129, 3000, 2865, 2890]
m2 = [3200, 3300, 2975, 3150]
m3 = [2800, 2900, 2985, 3050]
m4 = [2600, 2700, 2600, 2765]
t_dict = {'mix1': m1, 'mix2': m2, 'mix3': m3, 'mix4': m4}
df = pd.DataFrame.from_dict(t_dict, orient='index', columns=['sample1', 'sample2', 'sample3', 'sample4'])
When we apply SAS on this data we get the following table:
Is there any way to get an output like what SAS generates using Python?