pyfan.panda.inout.readexport
¶
Created on Aug 9, 2018
@author: fan
Module Contents¶
Functions¶
|
https://stackoverflow.com/questions/6037503/python-unflatten-dict |
|
|
|
|
|
directory = ‘C:/Users/fan/Documents/Dropbox (UH-ECON)/Project Dissertation/model_test/test_solu/’ |
|
|
|
-
pyfan.panda.inout.readexport.
unflatten_denormalize
(dictionary=None, dump_print=False)[source]¶ https://stackoverflow.com/questions/6037503/python-unflatten-dict json_normalize results in dict that has dots for nests revert back
Examples
import panda.io.readexport as readexport dictionary = {} nested_dict = readexport.unflatten_denormalize(dictionary)
-
pyfan.panda.inout.readexport.
read_csv
(csv_file_folder)[source]¶ directory = ‘C:/Users/fan/Documents/Dropbox (UH-ECON)/Project Dissertation/model_test/test_solu/’ param_combo = ‘20180701_basicJ7_basic’ file_name = ‘solu_’+param_combo+’.csv’ csv_file_folder = directory + ‘/’ + file_name solu_opti_pd = proj_sys_sup.read_csv(csv_file_folder)