microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
19.17k stars 1.89k forks source link

Warning: 'DataFrame.swapaxes' is deprecated #331

Open GaryDean opened 4 months ago

GaryDean commented 4 months ago
/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.
daijun4you commented 4 months ago

I got the same issue

alloyapple commented 4 months ago

I also got the same issue

MichaelYang1995 commented 4 months ago

I got the same issue

najsword commented 3 months ago

I also got the same issue too

jinghuaishan commented 3 months ago

俺也一样

I321065 commented 3 months ago

same issue

JosephWuMTK commented 3 months ago

same issue

xindoo commented 3 months ago

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

Tanguosen commented 3 months ago

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

NathanAP commented 2 months ago

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

jambler24 commented 1 month ago

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.