with the df['goal'].value_counts()
:
The result is:
0 1000
1 500
Is there a fast way to also get the percentage
of with class like:
0 1000 66,7%
1 500 33,3%
with the df['goal'].value_counts()
:
The result is:
0 1000
1 500
Is there a fast way to also get the percentage
of with class like:
0 1000 66,7%
1 500 33,3%