Hi,

I have pandas DataFrame with several columns. I have to pass all columns as 
separate parameter to a function. 

Something like this if I have 4 columns.

f, p = stats.f_oneway(df_piv.iloc[:, 0], df_piv.iloc[:, 1], df_piv.iloc[:, 2], 
df_piv.iloc[:, 3])

As number of columns varies, how to do it in the most efficient way?

Regards.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to