I access the excel file through the scrape.py file:
import pandas as pd
import os
from pathlib import Path
BASE_DIR = Path(file).resolve().parent
DATA_DIR = os.path.join(BASE_DIR, "Data")
database_path = os.path.join(DATA_DIR, "Data.xlsx")
Database = pd.read_excel(database_path)
Then I have this class:
class skimask:
def...