Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 4726f970c4b56b9a0ebb9a03a0b6522e > files > 142

python-tables-doc-3.0.0-4.mga4.noarch.rpm




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>What’s new in PyTables 0.9 &mdash; PyTables 3.0.0 documentation</title>
    
    <link rel="stylesheet" href="../_static/cloud.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="../" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '3.0.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/jquery.cookie.js"></script>
    <script type="text/javascript" src="../_static/toggle_sections.js"></script>
    <script type="text/javascript" src="../_static/toggle_sidebar.js"></script>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="top" title="PyTables 3.0.0 documentation" href="../index.html" />
    <link rel="up" title="PyTables Release Notes" href="../release_notes.html" />
    <link rel="next" title="What’s new in PyTables 0.8" href="RELEASE_NOTES_v0.8.html" />
    <link rel="prev" title="What’s new in PyTables 0.9.1" href="RELEASE_NOTES_v0.9.1.html" /> 
  </head>
  <body>
    <div class="relbar-top">
        
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="../np-modindex.html" title="Python Module Index"
             >modules</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="RELEASE_NOTES_v0.8.html" title="What’s new in PyTables 0.8"
             accesskey="N">next</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="RELEASE_NOTES_v0.9.1.html" title="What’s new in PyTables 0.9.1"
             accesskey="P">previous</a> &nbsp; &nbsp;</li>
    <li><a href="../index.html">PyTables 3.0.0 documentation</a> &raquo;</li>

          <li><a href="../release_notes.html" accesskey="U">PyTables Release Notes</a> &raquo;</li> 
      </ul>
    </div>
    </div>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="what-s-new-in-pytables-0-9">
<h1>What&#8217;s new in PyTables 0.9<a class="headerlink" href="#what-s-new-in-pytables-0-9" title="Permalink to this headline">¶</a></h1>
<p>On this release you will find a series of quite
exciting new features, being the most important the indexing
capabilities, in-kernel selections, support for complex datatypes and
the possibility to modify values in both tables <em>and</em> arrays (yeah,
finally :).</p>
<div class="section" id="new-features">
<h2>New features:<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Indexing of columns in tables. That allow to make data selections on
tables up to 500 times faster than standard selections (for
ex. doing a selection along an indexed column of 100 milion of rows
takes less than 1 second on a modern CPU). Perhaps the most
interesting thing about the indexing algorithm implemented by
PyTables is that the time taken to index grows <em>lineraly</em> with the
length of the data, so, making the indexation process to be
<em>scalable</em> (quite differently to many relational databases). This
means that it can index, in a relatively quick way, arbitrarily
large table columns (for ex. indexing a column of 100 milion of rows
takes just 100 seconds, i.e. at a rate of 1 Mrow/sec). See more
detailed info about that in <a class="reference external" href="http://www.pytables.org/docs/SciPy04.pdf">http://www.pytables.org/docs/SciPy04.pdf</a>.</li>
<li>In-kernel selections. This feature allow to make data selections on
tables up to 5 times faster than standard selections (i.e. pre-0.9
selections), without a need to create an index. As a hint of how
fast these selections can be, they are up to 10 times faster than a
traditional relational database. Again, see
<a class="reference external" href="http://www.pytables.org/docs/SciPy04.pdf">http://www.pytables.org/docs/SciPy04.pdf</a> for some experiments on that
matter.</li>
<li>Support of complex datatypes for all the data objects (i.e. Table,
Array, EArray and VLArray). With that, the complete set of datatypes
of Numeric and numarray packages are supported. Thanks to Tom Hedley
for providing the patches for Array, EArray and VLArray objects, as
well as updating the User&#8217;s Manual and adding unit tests for the new
functionality.</li>
<li>Modification of values. You can modifiy Table, Array, EArray and
VLArray values. See Table.modifyRows, Table.modifyColumns() and the
newly introduced __setitem__() method for Table, Array, EArray and
VLArray entities in the Library Reference of User&#8217;s Manual.</li>
<li>A new sub-package called &#8220;nodes&#8221; is there. On it, there will be
included different modules to make more easy working with different
entities (like images, files, ...). The first module that has been
added to this sub-package is &#8220;FileNode&#8221;, whose mission is to enable
the creation of a database of nodes which can be used like regular
opened files in Python.  In other words, you can store a set of
files in a PyTables database, and read and write it as you would do
with any other file in Python. Thanks to Ivan Vilata i Balaguer for
contributing this.</li>
</ul>
</div>
<div class="section" id="improvements">
<h2>Improvements:<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>New __len__(self) methods added in Arrays, Tables and Columns. This,
in combination with __getitem__(self,key) allows to better emulate
sequences.</li>
<li>Better capabilities to import generic HDF5 files. In particular,
Table objects (in the HDF5_HL naming schema) with &#8220;holes&#8221; in their
compound type definition are supported. That allows to read certain
files produced by NASA (thanks to Stephen Walton for reporting this).</li>
<li>Much improved test units. More than 2000 different tests has been
implemented which accounts for more than 13000 loc (this represents
twice of the PyTables library code itself (!)).</li>
</ul>
</div>
<div class="section" id="backward-incompatible-api-changes">
<h2>Backward-incompatible API changes:<a class="headerlink" href="#backward-incompatible-api-changes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>The __call__ special method has been removed from objects File,
Group, Table, Array, EArray and VLArray. Now, you should use
walkNodes() in File and Group and iterrows in Table, Array, EArray
and VLArray to get the same functionality. This would provide better
compatibility with IPython as well.</li>
</ul>
<p>&#8216;nctoh5&#8217;, a new importing utility:</p>
<ul class="simple">
<li>Jeff Whitaker has contributed a script to easily convert NetCDF
files into HDF5 files using Scientific Python and PyTables. It has
been included and documented as a new utility.</li>
</ul>
</div>
<div class="section" id="bug-fixes">
<h2>Bug fixes:<a class="headerlink" href="#bug-fixes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>A call to File.flush() now invoke a call to H5Fflush() so to
effectively flushing all the file contents to disk. Thanks to Shack
Toms for reporting this and providing a patch.</li>
<li>SF #1054683: Security hole in utils.checkNameValidity(). Reported in
2004-10-26 by ivilata</li>
<li>SF #1049297: Suggestion: new method File.delAttrNode(). Reported in
2004-10-18 by ivilata</li>
<li>SF #1049285: Leak in AttributeSet.__delattr__(). Reported in
2004-10-18 by ivilata</li>
<li>SF #1014298: Wrong method call in examples/tutorial1-2.py. Reported
in 2004-08-23 by ivilata</li>
<li>SF #1013202: Cryptic error appending to EArray on RO file. Reported
in 2004-08-21 by ivilata</li>
<li>SF #991715: Table.read(field=&#8221;var1&#8221;, flavor=&#8221;List&#8221;) fails. Reported
in 2004-07-15 by falted</li>
<li>SF #988547: Wrong file type assumption in File.__new__. Reported in
2004-07-10 by ivilata</li>
</ul>
<p>Bon profit!,</p>
<p>&#8211; Francesc Altet
<a class="reference external" href="mailto:falted&#37;&#52;&#48;pytables&#46;org">falted<span>&#64;</span>pytables<span>&#46;</span>org</a></p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
        <p class="logo"><a href="../index.html">
          <img class="logo" src="../_static/logo-pytables-small.png" alt="Logo"/>
        </a></p>
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">What&#8217;s new in PyTables 0.9</a><ul>
<li><a class="reference internal" href="#new-features">New features:</a></li>
<li><a class="reference internal" href="#improvements">Improvements:</a></li>
<li><a class="reference internal" href="#backward-incompatible-api-changes">Backward-incompatible API changes:</a></li>
<li><a class="reference internal" href="#bug-fixes">Bug fixes:</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="RELEASE_NOTES_v0.9.1.html"
                        title="previous chapter">What&#8217;s new in PyTables 0.9.1</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="RELEASE_NOTES_v0.8.html"
                        title="next chapter">What&#8217;s new in PyTables 0.8</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/release-notes/RELEASE_NOTES_v0.9.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="relbar-bottom">
        
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="../np-modindex.html" title="Python Module Index"
             >modules</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="RELEASE_NOTES_v0.8.html" title="What’s new in PyTables 0.8"
             >next</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="RELEASE_NOTES_v0.9.1.html" title="What’s new in PyTables 0.9.1"
             >previous</a> &nbsp; &nbsp;</li>
    <li><a href="../index.html">PyTables 3.0.0 documentation</a> &raquo;</li>

          <li><a href="../release_notes.html" >PyTables Release Notes</a> &raquo;</li> 
      </ul>
    </div>
    </div>

    <div class="footer">
        &copy; Copyright 2011-2013, PyTables maintainers.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
    <!-- cloud_sptheme 1.3 -->
  </body>
</html>