IPython Notebook

1 of 3

http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695-19ff0f1d...

In [1]: import pandas pandas.__version__ Out[1]:

'0.10.1.dev-cef33d5'

In [2]: r_store = pandas.HDFStore("Data/tutorial1.h5")

In [3]: r_store Out[3]:

File path: Data/tutorial1.h5 Empty

In [4]: list(r_store.handle.walkGroups()) Out[4]:

[/ (RootGroup) 'Test file' children := ['detector' (Group), 'columns' (Group)], /columns (Group) 'Pressure and Name' children := ['pressure' (Array), 'name' (Array)], /detector (Group) 'Detector information' children := ['readout' (Table)]]

In [5]: list(r_store.handle.walkNodes()) Out[5]:

[/ (RootGroup) 'Test file' children := ['detector' (Group), 'columns' (Group)], /columns (Group) 'Pressure and Name' children := ['pressure' (Array), 'name' (Array)], /detector (Group) 'Detector information' children := ['readout' (Table)], /columns/name (Array(3,)) 'Name column selection' atom := StringAtom(itemsize=16, shape=(), dflt='') maindim := 0 flavor := 'python' byteorder := 'irrelevant' chunkshape := None, /columns/pressure (Array(3,)) 'Pressure column selection' atom := Float64Atom(shape=(), dflt=0.0) maindim := 0 flavor := 'numpy' byteorder := 'little' chunkshape := None, /detector/readout (Table(10,)) 'Readout example' description := { "ADCcount": UInt16Col(shape=(), dflt=0, pos=0), "TDCcount": UInt8Col(shape=(), dflt=0, pos=1), "energy": Float64Col(shape=(), dflt=0.0, pos=2), "grid_i": Int32Col(shape=(), dflt=0, pos=3), "grid_j": Int32Col(shape=(), dflt=0, pos=4), "idnumber": Int64Col(shape=(), dflt=0, pos=5), "name": StringCol(itemsize=16, shape=(), dflt='', pos=6), "pressure": Float32Col(shape=(), dflt=0.0, pos=7)} byteorder := 'little' chunkshape := (1394,)]

01/15/2013 04:43 PM

IPython Notebook

2 of 3

http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695-19ff0f1d...

In [6]: r_store.keys() Out[6]:

[]

In [7]: r_store.root.detector.readout Out[7]:

/detector/readout (Table(10,)) 'Readout example' description := { "ADCcount": UInt16Col(shape=(), dflt=0, pos=0), "TDCcount": UInt8Col(shape=(), dflt=0, pos=1), "energy": Float64Col(shape=(), dflt=0.0, pos=2), "grid_i": Int32Col(shape=(), dflt=0, pos=3), "grid_j": Int32Col(shape=(), dflt=0, pos=4), "idnumber": Int64Col(shape=(), dflt=0, pos=5), "name": StringCol(itemsize=16, shape=(), dflt='', pos=6), "pressure": Float32Col(shape=(), dflt=0.0, pos=7)} byteorder := 'little' chunkshape := (1394,)

In [8]: r_store.select("detector/readout") --------------------------------------------------------------------------Exception Traceback (most recent call last) in () ----> 1 r_store.select("detector/readout") /home/engineer/CodeBase/Development/PANDAS/lib/python2.7/site-packages/pandas0.10.1.dev_cef33d5-py2.7-linux-i686.egg/pandas/io/pytables.pyc in select(self, key, where, start, stop, columns, **kwargs) 350 if group is None: 351 raise KeyError('No object named %s in the file' % key) --> 352 return self._read_group(group, where=where, start=start, stop=stop, columns=columns, **kwargs) 353 354 def select_as_coordinates(self, key, where=None, **kwargs): /home/engineer/CodeBase/Development/PANDAS/lib/python2.7/site-packages/pandas0.10.1.dev_cef33d5-py2.7-linux-i686.egg/pandas/io/pytables.pyc in _read_group(self, group, **kwargs) 784 785 def _read_group(self, group, **kwargs): --> 786 s = self._create_storer(group) 787 s.infer_axes() 788 return s.read(**kwargs) /home/engineer/CodeBase/Development/PANDAS/lib/python2.7/site-packages/pandas0.10.1.dev_cef33d5-py2.7-linux-i686.egg/pandas/io/pytables.pyc in _create_storer(self, group, value, table, append, **kwargs) 692 tt = 'generic_table' 693 else: --> 694 raise Exception("cannot create a storer if the object is not existing nor a value are passed") 695 else: 696 Exception: cannot create a storer if the object is not existing nor a value are passed

01/15/2013 04:43 PM

IPython Notebook

3 of 3

http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695-19ff0f1d...

In [9]: r_store.close()

01/15/2013 04:43 PM

IPython Notebook http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695 ...

Jan 15, 2013 - chunkshape := (1394,)]. IPython Notebook http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695-19ff0f1d. ... In [9]: r_store.close(). IPython Notebook.

34KB Sizes 1 Downloads 130 Views

Recommend Documents

The IPython notebook - GitHub
tool chain to compile the notebook to a publishable PDF, has inspired me to .... I have tested the HTML outputs on my Galaxy S3 and S4, IPAD and Nexus7.

IPython Notebook http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695 ...
Jan 15, 2013 - chunkshape := (1394,)]. IPython Notebook http://127.0.0.1:8890/c2c7d37e-67fa-44d0-8695-19ff0f1d. ... In [9]: r_store.close(). IPython Notebook.

IPython Notebooks - GitHub
IPython had become a popular choice for doing interactive scientific work. ... The Complete Talk GitHub Website can be accessed here ... tool chain to compile the notebook to a publishable PDF, has inspired me to maybe even try and .... execution, te

Scientific python + IPython intro - GitHub
2. Tutorial course on wavefront propagation simulations, 28/11/2013, XFEL, ... written for Python 2, and it is still the most wide- ... Generate html and pdf reports.

Learning IPython for Interactive Computing and Data Visualization.pdf
Learning IPython for Interactive Computing and Data Visualization.pdf. Learning IPython for Interactive Computing and Data Visualization.pdf. Open. Extract.

Learning-IPython-For-Interactive-Computing-And-Data-Visualization ...
Whoops! There was a problem loading this page. Retrying... Learning-IPython-For-Interactive-Computing-And-Data-Visualization-Second-Edition.pdf.

pdf-14106\mark-twain-notebook-the-signature-notebook-series-from ...
... more apps... Try one of the apps below to open or edit this item. pdf-14106\mark-twain-notebook-the-signature-notebook-series-from-cider-mill-press.pdf.

Read Online Chem Notebook: Single Subject Notebook for School ...
Sep 10, 2017 - Read Online Chem Notebook: Single Subject Notebook for School. Students, 200 ... perfect fit to normal school ... Math-Wide rules 200 P Social.

ENGINEERING​​NOTEBOOK
December​ ​9. - Discussed​​Materials​​Needed: - 24​​1-length​​U-beam. - 3+?​​LONG​​U-beams. - andymark​​field​​mat.

Notebook printing...
Jun 8, 2017 - Math 7 Final Review 2016, pp. 11-20.notebook. 1. June 07, 2017. Aim: swbat review for the final exam. ... Your final exam room is B107.

Notebook MSI.pdf
512GB SSD +1TB Win10H 2 Yr MYR 26,499.00. GT73VR 7RF-605MY 17.3" UHD. Geforce GTX 1080,. 8GB GDDR5X. i7-7820HK. DDR IV. 16GB*2. 512GB SSD ...

Notebook Backgrounds
Da Vinci's sketch of a parachute from c. 1483 was in a notebook margin. The original drawing is kept in the. Biblioteca Ambrosiana in Milan. Page 11. 11. Thomas Edison's Notebook. “I have not failed. I've just found 10,000 ways that won't work” T

notebook
garchy,1 I suspect that they are but sec- ondary targets in this ongoing raid, and ... 10 I-lARPER'S MAGAZINE / ]UNE 2006. I doubt that their separation from the.

Notebook MSI.pdf
Sign in. Loading… Page 1. Whoops! There was a problem loading more pages. Retrying... Notebook MSI.pdf. Notebook MSI.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Notebook MSI.pdf.

Notebook printing...
Page 1. Chapter 3. 1. October 17, 2016.