diff --git a/README.md b/README.md index 736cd2c..c78afd8 100644 --- a/README.md +++ b/README.md @@ -3193,7 +3193,7 @@ Name: a, dtype: int64 ```python <S>.plot.line/area/bar/pie/hist() # Generates a plot. `plt.show()` displays it. ``` -* **Also: `'pd.cut(<S>, bins=<int/coll>)'`, `'<S>.quantile(<float/coll>)'`.** +* **Also: `'pd.cut(<S>, bins=<int/coll>)'` and `'<S>.quantile(<float/coll>)'`.** * **Indexing objects can't be tuples because `'obj[x, y]'` is converted to `'obj[(x, y)]'`.** * **Pandas uses NumPy types like `'np.int64'`. Series is converted to `'float64'` if we assign np.nan to any item. Use `'<S>.astype(<str/type>)'` to get converted Series.** * **Series will silently overflow if we run `'pd.Series([100], dtype="int8") + 100'`!** diff --git a/index.html b/index.html index 5ff18a3..4d7c1a4 100644 --- a/index.html +++ b/index.html @@ -2601,7 +2601,7 @@ Name: a, dtype: int64 <pre><code class="python language-python hljs"><S>.plot.line/area/bar/pie/hist() <span class="hljs-comment"># Generates a plot. `plt.show()` displays it.</span> </code></pre> <ul> -<li><strong>Also: <code class="python hljs"><span class="hljs-string">'pd.cut(<S>, bins=<int/coll>)'</span></code>, <code class="python hljs"><span class="hljs-string">'<S>.quantile(<float/coll>)'</span></code>.</strong></li> +<li><strong>Also: <code class="python hljs"><span class="hljs-string">'pd.cut(<S>, bins=<int/coll>)'</span></code> and <code class="python hljs"><span class="hljs-string">'<S>.quantile(<float/coll>)'</span></code>.</strong></li> <li><strong>Indexing objects can't be tuples because <code class="python hljs"><span class="hljs-string">'obj[x, y]'</span></code> is converted to <code class="python hljs"><span class="hljs-string">'obj[(x, y)]'</span></code>.</strong></li> <li><strong>Pandas uses NumPy types like <code class="python hljs"><span class="hljs-string">'np.int64'</span></code>. Series is converted to <code class="python hljs"><span class="hljs-string">'float64'</span></code> if we assign np.nan to any item. Use <code class="python hljs"><span class="hljs-string">'<S>.astype(<str/type>)'</span></code> to get converted Series.</strong></li> <li><strong>Series will silently overflow if we run <code class="python hljs"><span class="hljs-string">'pd.Series([100], dtype="int8") + 100'</span></code>!</strong></li>