Skip to content

Dataframe doesn't contain all data #6

@toooxan

Description

@toooxan

The output data for individual data contains only 24 columns:

df_outfield = get_outfield_data('https://fbref.com/en/comps/Big5/2022-2023/','/players/2022-2023-Big-5-European-Leagues-Stats')
df_outfield.to_csv('2022-2023.csv',index=False)
0      Brenden Aaronson      us USA    MF,FW  ...   3.9      0.15        0.15
1       Paxten Aaronson      us USA    MF,DF  ...   0.2      0.09        0.09
2      Yunis Abdelhamid      ma MAR       DF  ...   2.4      0.06        0.06
3         Himad Abdelli      dz ALG    MF,FW  ...   1.4      0.06        0.06
4     Salis Abdul Samed      gh GHA       MF  ...   0.9      0.03        0.03
...                 ...         ...      ...  ...   ...       ...         ...
2484   Szymon Żurkowski      pl POL       MF  ...   0.6      0.12        0.12
2485    Martin Ødegaard      no NOR       MF  ...  10.0      0.29        0.29
2486        Milan Đurić      ba BIH       FW  ...   1.4      0.09        0.09
2487      Filip Đuričić      rs SRB    MF,FW  ...   2.7      0.11        0.11
2488     Hugo Guillamón         0.0    DF,MF  ...   0.0      0.00        0.00

[2489 rows x 24 columns]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions