def get_dataframe(self):
    date = self.get_date()
    names = self.data.find_all('span', {'class': 'label'})
    values = self.data.find_all('span', {'class': 'value'})
    df = pd.DataFrame()
    for i in range(len(names)):
        names[i] = names[i].text.replace(':', '')
        values[i] = int(values[i].text.replace('§', '').replace('†', '').replace('‡', '').replace('*', '').split(' ')[0])
    order = ['Total cases', 'Hawai’i', 'Oahu', 'Kaua’i', 'Maui', 'Pending', 'Residents diagnosed outside of Hawai‘i', 'Required Hospitalization', 'Hawaii deaths', 'Lanai', 'Molokai']
    namesOrdered = ['', '', '', '', '', '', '', '', '', '', '']
    valuesOrdered = ['', '', '', '', '', '', '', '', '', '', '']
    for i in range(len(order)):
        for j in range(len(names)):
            if (order[i] == names[j]):
                namesOrdered[i] = names[j]
                valuesOrdered[i] = values[j]
    dfNew = pd.DataFrame({'Date': date, namesOrdered[0]: valuesOrdered[0], namesOrdered[1]: valuesOrdered[1], namesOrdered[2]: valuesOrdered[2], namesOrdered[3]: valuesOrdered[3], namesOrdered[4]: valuesOrdered[4], namesOrdered[5]: valuesOrdered[5], namesOrdered[6]: valuesOrdered[6], namesOrdered[7]: valuesOrdered[7], namesOrdered[8]: valuesOrdered[8], namesOrdered[9]: valuesOrdered[9], namesOrdered[10]: valuesOrdered[10]}, index=[0])
    return dfNew
def get_dataframe(self):
    date = self.get_date()
    names = self.data.find_all('span', {'class': 'label'})
    values = self.data.find_all('span', {'class': 'value'})
    df = pd.DataFrame()
    for i in range(len(names)):
        names[i] = names[i].text.replace(':', )
        values[i] = int(values[i].text.replace('§', ).replace('†', ).replace('‡', ).replace('*', ).split(' ')[0])
    order = ['Total cases', 'Hawai’i', 'Oahu', 'Kaua’i', 'Maui', 'Pending', 'Residents diagnosed outside of Hawai‘i', 'Required Hospitalization', 'Hawaii deaths', 'Lanai', 'Molokai']
    namesOrdered = [, , , , , , , , , , ]
    valuesOrdered = [, , , , , , , , , , ]
    for i in range(len(order)):
        for j in range(len(names)):
            if (order[i] == names[j]):
                namesOrdered[i] = names[j]
                valuesOrdered[i] = values[j]
    dfNew = pd.DataFrame({'Date': date, namesOrdered[0]: valuesOrdered[0], namesOrdered[1]: valuesOrdered[1], namesOrdered[2]: valuesOrdered[2], namesOrdered[3]: valuesOrdered[3], namesOrdered[4]: valuesOrdered[4], namesOrdered[5]: valuesOrdered[5], namesOrdered[6]: valuesOrdered[6], namesOrdered[7]: valuesOrdered[7], namesOrdered[8]: valuesOrdered[8], namesOrdered[9]: valuesOrdered[9], namesOrdered[10]: valuesOrdered[10]}, index=[0])
    return dfNew