I've got a spreadsheet that I'd like to partially include in an HTML email displaying specific totals. I'm not sure how to implement the Pandas table. I've got:
Status
Abandoned
Abandoned
Abandoned
Active
Abandoned
And I'd like to somehow implement this in an HTML email notifying users how many of each exist in the table. Because this is always changing, the values will never be the same amount (but they will always be either "Abandoned" or "Active").
dataframe['Status'].value_counts().to_frame()
Works but I'm not sure how to make this into something that can be parsed in an HTML email. Is there a way to pull out the values for each status field and append them to a list or something so I can just use len(list)
as the total number of times the value is displayed in that column?