graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Warning: 'DataFrame.swapaxes' is deprecated

Open GaryDean opened this issue 1 year ago • 11 comments

/XXX/graphrag/.venv/lib/python3.10/site-packages/numpy/core/fromnume
ric.py:59: FutureWarning: 'DataFrame.swapaxes' is deprecated and will be removed in 
a future version. Please use 'DataFrame.transpose' instead.

GaryDean avatar Jul 03 '24 02:07 GaryDean

I got the same issue

daijun4you avatar Jul 10 '24 08:07 daijun4you

I also got the same issue

alloyapple avatar Jul 18 '24 00:07 alloyapple

I got the same issue

MichaelYang1995 avatar Jul 21 '24 09:07 MichaelYang1995

I also got the same issue too

najsword avatar Jul 27 '24 15:07 najsword

俺也一样

jinghuaishan avatar Jul 31 '24 05:07 jinghuaishan

same issue

I321065 avatar Aug 08 '24 11:08 I321065

same issue

JosephWuMTK avatar Aug 09 '24 15:08 JosephWuMTK

The DataFrame.swapaxes has been deprecated in pandas 2.1.0, so downgrading to 2.0.3 fixed the issue.

xindoo avatar Aug 17 '24 13:08 xindoo

DataFrame.swapaxes 在 pandas 2.1.0 中已被弃用,因此降级到 2.0.3 解决了这个问题。

Thanks, but my bug persists:

❌ create_final_entities None ⠼ GraphRAG Indexer ├── Loading Input (text) - 1 files loaded (0 filtered) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:00 ├── create_base_text_units ├── create_base_extracted_entities ├── create_final_covariates ├── create_summarized_entities ├── join_text_units_to_covariate_ids ├── create_base_entity_graph └── create_final_entities

Tanguosen avatar Aug 18 '24 05:08 Tanguosen

I start getting this today... it actually breaks the indexer attempts

NathanAP avatar Sep 16 '24 11:09 NathanAP

Same issue / error message

FutureWarning: 'DataFrame.swapaxes' is deprecated and will be removed in a future version. Please use 'DataFrame.transpose' instead. return bound(*args, **kwds) ❌ create_final_nodes None ⠇ GraphRAG Indexer ├── Loading Input (text) - 9 files loaded (4 filtered) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:00 ├── create_base_text_units ├── create_base_extracted_entities ├── create_summarized_entities ├── create_base_entity_graph ├── create_final_entities └── create_final_nodes ❌ Errors occurred during the pipeline run, see logs for more details.

jambler24 avatar Sep 20 '24 07:09 jambler24