added map printing

This commit is contained in:
Khalim Conn-Kowlessar 2025-02-19 22:35:21 +00:00
parent 978deb286b
commit 776285dd15

View file

@ -1,8 +1,9 @@
import os
import re
import tiktoken
from pprint import pprint
from datetime import datetime
from openai import OpenAI
import tiktoken
import numpy as np
import pandas as pd
from fuzzywuzzy import process
@ -491,6 +492,12 @@ class AssetList:
# We now print out the variable mappings, which can be reviewed by the user, before the final standardised
# asset list is returned
for variable, mapping in self.variable_mappings.items():
pprint(f"Variable: {variable}")
pprint(mapping)
# Print a space
print("\n")
pprint("=======================================")
def apply_standardiation(self, override_empty_mappings=False):
"""