Skip to content

Error when creating table #110

@vitchok

Description

@vitchok

File "C:\Users\Administrator\Documents\oooo\ProphitBet-Soccer-Bets-Predictor-main\src\gui\main.py", line 138, in new_league
self._load_new_league(df=new_league_dialog.league_df, league=new_league_dialog.league)
File "C:\Users\Administrator\Documentsr\oooo\ProphitBet-Soccer-Bets-Predictor-main\src\gui\main.py", line 660, in _load_new_league
self._table = ExcelTable(parent=self, df=df, readonly=True, supports_sorting=True, supports_query_search=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\oooo\ProphitBet-Soccer-Bets-Predictor-main\src\gui\widgets\tables.py", line 183, in init
super().init(df.shape[0], df.shape[1])
^^^^^^^^
AttributeError: 'builtin_function_or_method' object has no attribute 'shape'

I installed all the requirements directly, is there anything else i should do? thank you

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