Is your data in a dataframe? Then you can use the by function.

Reply via email to