################################################################################################### 
#Data Manipulation: Boolean datasets
################################################################################################### 

#Boolean datasets
path="group/data1"
data1d = [True, False, True]
save_dataset(path, data1d, '[z')

path="group/data2"
create_dataset(path, 'z')
append_dataset(path, True)
append_dataset(path, False)
append_dataset(path, True)
append_dataset(path, False)
append_dataset(path, True)



path="group/data3"
data2d = to_array ( [[True, False, True], [True, True, True], [False, False, True]], '[z')
save_dataset(path, data2d)



path="group/data4"
create_dataset(path, 'z', dimensions = [2, 3])
append_dataset(path, to_array([True, False, True], '[z'), type='[z')
append_dataset(path, to_array([True, True, True], '[z'), type='[z')
