fix: Suppress pandas PyArrow future dependency warning

Moving the import of pandas *after* we've suppressed FutureWarning, to hide a big and useless warning saying that "Pandas 3.x will require PyArrow".
This commit is contained in:
Arcitec 2025-09-08 12:59:35 +02:00
parent 3e64c4ac11
commit d5cdb5eb3c

View File

@ -7,11 +7,11 @@ import time
import warnings
import pandas as pd
warnings.filterwarnings("ignore", category=FutureWarning)
warnings.filterwarnings("ignore", category=UserWarning)
import pandas as pd
current_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(current_dir)
sys.path.append(os.path.join(current_dir, "indextts"))