Hello,
I'm looking for a solution how to add cumulative count column. So for instance 1929 was won by Barcelona (first title). 1929-30 by Bilbao (first title), 1930-31 again by Bilbao (thus second title), 1931-32 by Real, thus first title and so on.
Dataset:
1929 Barcelona
1929-30 Athletic Bilbao
1930-31 Athletic Bilbao
1931-32 Real Madrid
1932-33 Real Madrid
1933-34 Athletic Bilbao
1934-35 Betis
1935-36 Athletic Bilbao
Desired output:
1929 Barcelona 1
1929-30 Athletic Bilbao 1
1930-31 Athletic Bilbao 2
1931-32 Real Madrid 1
1932-33 Real Madrid 2
1933-34 Athletic Bilbao 3
1934-35 Betis 1
1935-36 Athletic Bilbao 4
Thanks
Pepe
I'm looking for a solution how to add cumulative count column. So for instance 1929 was won by Barcelona (first title). 1929-30 by Bilbao (first title), 1930-31 again by Bilbao (thus second title), 1931-32 by Real, thus first title and so on.
Dataset:
1929 Barcelona
1929-30 Athletic Bilbao
1930-31 Athletic Bilbao
1931-32 Real Madrid
1932-33 Real Madrid
1933-34 Athletic Bilbao
1934-35 Betis
1935-36 Athletic Bilbao
Desired output:
1929 Barcelona 1
1929-30 Athletic Bilbao 1
1930-31 Athletic Bilbao 2
1931-32 Real Madrid 1
1932-33 Real Madrid 2
1933-34 Athletic Bilbao 3
1934-35 Betis 1
1935-36 Athletic Bilbao 4
Thanks
Pepe