Kn the following portion of this project, I cannot return a percentage distribution when I use value_counts. I can return the totals per date, but not the proportions as the project demands. Why might this be?
Screen Link: https://app.dataquest.io/m/294/guided-project%3A-exploring-ebay-car-sales-data/5/exploring-the-date-columns
My Code:
trimmed_date_crawled.value_counts(normalize=True, dropna=False)
What I expected to happen:
percentages in place of simple counts
What actually happened:
All outputs were zero
I checked to make sure that there actually is data there, and if I don’t pass the normalize argument, I see the actual counts, so it isn;t that these counts are null to begin with.