I have the results of a get_fundamentals query
fundamental_df=get_fundamentals(Q)
So now fundamental_df is a pandas frame with the symbols in rows and and the differnt fundamental fields in columns. Lets say I have "ebitda" and "total_revenue" fields in columns
I am trying to
1. calculate the avergage and standard deviation across all symbols for the "ebitda" and "total_revenue" columns
2. Eliminate from the pandas frame all rows/symbols that fall outside, say 3 standard deviations from the average
I am still learning how to manipulate/calculate with a pandas data frame.
Can some one show me how to do this?
Thanks,
Sarvi