Skip to content

Instantly share code, notes, and snippets.

@hsyyid
Created Aug 25, 2020
Embed
What would you like to do?
import ast
import gluestick as gs
import pandas as pd
# standard directory for hotglue
ROOT_DIR = "./sync-output"
# Read input data
input_data = gs.read_csv_folder(ROOT_DIR,
index_cols={'Invoice': 'DocNumber'},
converters={'Invoice': {'Line': ast.literal_eval, 'CustomField': ast.literal_eval,
'Categories': ast.literal_eval}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment