friedrich-de / TMW_Bot

GNU General Public License v3.0
2 stars 5 forks source link

Bug week calculation #15

Closed J-O-S-H-L closed 2 weeks ago

J-O-S-H-L commented 2 weeks ago

Currently the heatmap isn't showing any logging data from November. I think it has something to do with the way I calculate the week of the year and fill in the data. Logs are being overwritten because of an indexing error in the numpy array. Moved to a pivot table to reduce human error; piviot tables are also more effiecent. I didn't use one earliear because I didn't think I could fill the edges of the year with np.nans but I can. There results in a correct year shape and the logs are updating correctly.