Skip to content

Commit

Permalink
Update zipf_law.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wunter committed Mar 4, 2016
1 parent 7f1994f commit f016fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipf_law.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def zipf_law (texto, scale = False):

frecuencia.sort(reverse = True)

datos_zipf = [(rank, frec) for rank,frec in enumerate(frecuencia)]
datos_zipf = [(rank, frec) for rank,frec in enumerate(frecuencia, start = 1)]


# Distribución de Zipf ideal
Expand Down

0 comments on commit f016fb0

Please sign in to comment.