Contains helpful functions used throughout `transfertab`.
import pandas as pd

getcatdict[source]

getcatdict(df, catcols=None, add_na=False)

df = pd.DataFrame({"cat1": [1, 2, 3, 4, 5], "cat2": ['a', 'b', 'c', 'b', 'a'], "cat3": ['A', 'B', 'C', 'D', 'A']})
df
cat1 cat2 cat3
0 1 a A
1 2 b B
2 3 c C
3 4 b D
4 5 a A
catdict = getcatdict(df)
catdict['cat2'] == ['a', 'b', 'c']
True

store_bson[source]

store_bson(path, data)

load_bson[source]

load_bson(path)

generate_files_embedprojector_for_comparision[source]

generate_files_embedprojector_for_comparision(model1_path, model2_path, dir_path)

Export