Skip to content

Commit d38c78e

Browse files
committed
floor
1 parent b0c6f33 commit d38c78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pandas as pd
55
from io import StringIO
66
import plotly.express as px
7-
#from math import floor
7+
from math import floor
88

99
def unique(messages):
1010
uniques = []
@@ -55,7 +55,7 @@ def fwma(wpm, words): #Message amounts recalculation according to average wpm
5555
average_wpm = sum / len(wpm)
5656
for i in words.keys():
5757
fwma = words[i] / average_wpm
58-
#fwma = floor(fwma)
58+
fwma = floor(fwma)
5959
fwma_dict.update({i : fwma})
6060
return fwma_dict
6161

0 commit comments

Comments
 (0)