-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
- ferret version: 0.4.1
- Python version: 3.10.12
- Running on : Google Colab
Description
I'm trying to run :
bench.show_table(explanations)and I get the following error :
AttributeError Traceback (most recent call last)
[<ipython-input-9-39a3816ba913>](https://localhost:8080/#) in <cell line: 1>()
----> 1 bench.show_table(explanation2)
[/usr/local/lib/python3.10/dist-packages/ferret/benchmark.py](https://localhost:8080/#) in show_table(self, explanations, apply_style, remove_first_last)
396 table.columns = pd.io.parsers.base_parser.ParserBase(
397 {"names": table.columns, "usecols": None}
--> 398 )._maybe_dedup_names(table.columns)
399
400 return (
AttributeError: 'ParserBase' object has no attribute '_maybe_dedup_names'
This only happens when I have duplicate tokens in my text example which I'm willing to explain, apparently in The latest version of pandas (2.2.2) _maybe_dedup_names is deprecated, probably to _maybe_make_multi_index_columns.
I have tried to downgrade pandas yet new errors occurs, Can you provide me with the pandas version used here ?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels