Skip to content
Prev 75850 / 398502 Next

A. Mani : Avoiding loops

Hello,
        I want to avoid loops in the following situation. There is a 5-col 
dataframe with col headers alone. two of the columns are non-numeric. The 
problem is to calculate statistics(scores) for each element of one column. 
The functions depend on matching in the other non-numeric column.

A  B  C  E  F
1  2  X  Y  1
2  3  G  L  1
3  1  G  L  5
and so on ...30000+ entries.

I need scores for col E entries which depend on conditional implications.


Thanks,

A. Mani
Member, Cal. Math. Soc