mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
Debug CRISP naming
This commit is contained in:
+3
-2
@@ -28,9 +28,10 @@ def change_to_current_directory():
|
||||
os.chdir(script_dir)
|
||||
|
||||
|
||||
def json_normalize_to_df(json):
|
||||
def json_normalize_to_df(json, sep='.'):
|
||||
sep_char = sep
|
||||
try:
|
||||
df = pd.json_normalize(json)
|
||||
df = pd.json_normalize(json, sep=sep_char)
|
||||
return df
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
Reference in New Issue
Block a user