arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [03/15] arrow-site git commit: Update pyarrow Python documentation
Date Mon, 17 Jul 2017 13:06:16 GMT
http://git-wip-us.apache.org/repos/asf/arrow-site/blob/796ce23f/docs/python/memory.html
----------------------------------------------------------------------
diff --git a/docs/python/memory.html b/docs/python/memory.html
index f6e7847..7bbbd1a 100644
--- a/docs/python/memory.html
+++ b/docs/python/memory.html
@@ -1,5 +1,6 @@
 <!DOCTYPE html>
 
+
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -37,7 +38,7 @@
 <meta name="apple-mobile-web-app-capable" content="yes">
 
   </head>
-  <body>
+  <body role="document">
 
   <div id="navbar" class="navbar navbar-default navbar-fixed-top">
     <div class="container">
@@ -148,7 +149,7 @@
       
   <div class="section" id="memory-and-io-interfaces">
 <span id="io"></span><h1>Memory and IO Interfaces<a class="headerlink"
href="#memory-and-io-interfaces" title="Permalink to this headline">¶</a></h1>
-<p>This section will introduce you to the major concepts in PyArrow’s memory
+<p>This section will introduce you to the major concepts in PyArrow&#8217;s memory
 management and IO systems:</p>
 <ul class="simple">
 <li>Buffers</li>
@@ -164,34 +165,34 @@ not own. <code class="docutils literal"><span class="pre">arrow::Buffer</span></
 reference other Buffers, while preserving memory lifetime and clean
 parent-child relationships.</p>
 <p>There are many implementations of <code class="docutils literal"><span
class="pre">arrow::Buffer</span></code>, but they all provide a
-standard interface: a data pointer and length. This is similar to Python’s
+standard interface: a data pointer and length. This is similar to Python&#8217;s
 built-in <cite>buffer protocol</cite> and <code class="docutils literal"><span
class="pre">memoryview</span></code> objects.</p>
 <p>A <a class="reference internal" href="generated/pyarrow.Buffer.html#pyarrow.Buffer"
title="pyarrow.Buffer"><code class="xref py py-class docutils literal"><span class="pre">Buffer</span></code></a>
can be created from any Python object which
-implements the buffer protocol. Let’s consider a bytes object:</p>
+implements the buffer protocol. Let&#8217;s consider a bytes object:</p>
 <div class="highlight-ipython"><div class="highlight"><pre><span></span><span
class="gp">In [1]: </span><span class="kn">import</span> <span class="nn">pyarrow</span>
<span class="kn">as</span> <span class="nn">pa</span>
 
-<span class="gp">In [2]: </span><span class="n">data</span> <span
class="o">=</span> <span class="sa">b</span><span class="s1">&#39;abcdefghijklmnopqrstuvwxyz&#39;</span>
+<span class="gp">In [2]: </span><span class="n">data</span> <span
class="o">=</span> <span class="n">b</span><span class="s1">&#39;abcdefghijklmnopqrstuvwxyz&#39;</span>
 
 <span class="gp">In [3]: </span><span class="n">buf</span> <span
class="o">=</span> <span class="n">pa</span><span class="o">.</span><span
class="n">frombuffer</span><span class="p">(</span><span class="n">data</span><span
class="p">)</span>
 
 <span class="gp">In [4]: </span><span class="n">buf</span>
-<span class="gh">Out[4]: </span><span class="go">&lt;pyarrow.lib.Buffer
at 0x7efc46c9a6c0&gt;</span>
+<span class="gh">Out[4]: </span><span class="go">&lt;pyarrow.lib.Buffer
at 0x2b9642a1ea40&gt;</span>
 
 <span class="gp">In [5]: </span><span class="n">buf</span><span
class="o">.</span><span class="n">size</span>
-<span class="gh">Out[5]: </span><span class="go">26</span>
+<span class="go">
Mime
View raw message