regenerating all histograms

This commit is contained in:
frankknoll
2023-02-16 08:41:24 +01:00
parent b3e8d93688
commit ef7c36d567

View File

@@ -25,4 +25,6 @@ def _createAndSaveHistogramsForCountry(count, numCountries, country, dictByBatch
# FK-TODO: use https://github.com/tqdm/tqdm
print(f'saving histograms for country {count}/{numCountries}: {country}')
dictByBatchcodeTable4Country = dictByBatchcodeTable[dictByBatchcodeTable['COUNTRY'] == country]
saveHistograms(dictByBatchcodeTable4Country, country)
explodedTable = MultiIndexExploder.explodeMultiIndexOfTable(dictByBatchcodeTable4Country)
histogramDescriptionTable = HistogramDescriptionTableFactory.createHistogramDescriptionTable(explodedTable)
saveHistograms(histogramDescriptionTable, country)