amrrs / tiobeindexpy

A Python package to get tiobeindex (ranking)
MIT License
7 stars 5 forks source link

tb.top_50() gives results from position 21 to 50: skips the first 20 languages #2

Open matteoredaelli opened 4 years ago

matteoredaelli commented 4 years ago
tb.top_20()
    Aug 2020  Aug 2019  Change  Programming Language Ratings Change.1
0          1         2     NaN                     C  16.98%   +1.83%
1          2         1     NaN                  Java  14.43%   -1.60%
2          3         3     NaN                Python   9.69%   -0.33%
3          4         4     NaN                   C++   6.84%   +0.78%
4          5         5     NaN                    C#   4.68%   +0.83%
5          6         6     NaN          Visual Basic   4.66%   +0.97%
6          7         7     NaN            JavaScript   2.87%   +0.62%
7          8        20     NaN                     R   2.79%   +1.97%
8          9         8     NaN                   PHP   2.24%   +0.17%
9         10        10     NaN                   SQL   1.46%   -0.17%
10        11        17     NaN                    Go   1.43%   +0.45%
11        12        18     NaN                 Swift   1.42%   +0.53%
12        13        19     NaN                  Perl   1.11%   +0.25%
13        14        15     NaN     Assembly language   1.04%   -0.07%
14        15        11     NaN                  Ruby   1.03%   -0.28%
15        16        12     NaN                MATLAB   0.86%   -0.41%
16        17        16     NaN  Classic Visual Basic   0.82%   -0.20%
17        18        13     NaN                Groovy   0.77%   -0.46%
18        19         9     NaN           Objective-C   0.76%   -0.93%
19        20        28     NaN                  Rust   0.74%   +0.29%
>>> tb.top_50()

    Position  Programming Language Ratings
0         21                   SAS   0.66%
1         22               Scratch   0.65%
2         23                     D   0.65%
3         24                  Dart   0.62%
4         25                PL/SQL   0.62%
5         26                  Logo   0.57%
6         27  Delphi/Object Pascal   0.53%
7         28                 COBOL   0.51%
8         29                Kotlin   0.49%
9         30          OpenEdge ABL   0.48%
10        31                 Julia   0.47%
11        32                  ABAP   0.46%
12        33                 Scala   0.45%
13        34          Transact-SQL   0.44%
14        35                Scheme   0.42%
15        36                Prolog   0.39%
16        37            PowerShell   0.39%
17        38                   Ada   0.39%
18        39                  Lisp   0.36%
19        40                  Apex   0.35%
20        41                   Lua   0.34%
21        42               Fortran   0.31%
22        43               Haskell   0.31%
23        44                  Hack   0.28%
24        45              VBScript   0.25%
25        46       (Visual) FoxPro   0.25%
26        47            TypeScript   0.24%
27        48                   Awk   0.20%
28        49          ActionScript   0.20%
29        50                   Tcl   0.20%
amrrs commented 4 years ago

That's strange I need to see if anything has changed on the site!

matteoredaelli commented 4 years ago

I do not know in the past, but now the "top 50" html table shows only the languages between 21 and 50. So it should not be a bug...