# standard libraries
from collections import defaultdict
from concurrent import futures
from copy import deepcopy
from datetime import datetime
from typing import Optional
import os
# Non standard libraries
import pandas as pd
from pathlib import Path