<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 ICO Data object example
Step1:  The Data object is initialized with the path to the directory of .pickle files. On creation it reads in the pickle files, but does not transform the data.
Step2:  The data object can be accessed like a dictionary to the underlying Dataframes. These will be transformed on their first access into a normalized form. (This might take awhile for the first access)
<ASSISTANT_TASK:>
Python Code:
import ICO
import os
import pandas as pd
import time
Explanation: ICO Data object example
End of explanation
data = ICO.Data(os.getcwd()+'/data/')
Explanation: The Data object is initialized with the path to the directory of .pickle files. On creation it reads in the pickle files, but does not transform the data.
End of explanation
start = time.time()
data["all_encounter_data"]
print(time.time() - start)
data["all_encounter_data"].describe(include='all')
data["all_encounter_data"].columns.values
data['all_encounter_data'].shape[0]
data['all_encounter_data'].to_pickle('all_encounter_data_Dan_20170415.pickle')
start = time.time()
data["all_person_data"]
print(time.time() - start)
data["all_person_data"].describe(include='all')
data["all_person_data"].columns.values
data['all_person_data'].shape[0]
data['all_person_data'].to_pickle('all_person_data_Dan_20170415.pickle')
Explanation: The data object can be accessed like a dictionary to the underlying Dataframes. These will be transformed on their first access into a normalized form. (This might take awhile for the first access)
End of explanation
<END_TASK>