The following code does not give an error, but is ignoring the .count()
part as per the picture below. It is returning 1 column, when I expected 2? any idea why? thanks.
df = df.filter(['StartsWith'])
df = df.groupby(['StartsWith']).count()
df
The following code does not give an error, but is ignoring the .count()
part as per the picture below. It is returning 1 column, when I expected 2? any idea why? thanks.
df = df.filter(['StartsWith'])
df = df.groupby(['StartsWith']).count()
df