how to apply correlation on a dataframe using plyr %>% in r code example
Example: how to correlation with axis in pandas
import pandas as pd
df.corrwith(dfa.iloc[0], axis=1)
import pandas as pd
df.corrwith(dfa.iloc[0], axis=1)