Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
继盛 committed Feb 2, 2016
1 parent 1ba2db3 commit 728953c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions docs/source/df-element-zh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -770,19 +770,19 @@ string相关操作包括:
</tr>
<tr>
<td>replace</td>
<td>将某个pattern的子串全部替换成另一个子串,``n``参数若指定,则替换n次</td>
<td>将某个pattern的子串全部替换成另一个子串,<code class="docutils literal">n</code>参数若指定,则替换n次</td>
</tr>
<tr>
<td>get</td>
<td>返回某个位置上的字符串</td>
</tr>
<tr>
<td>ljust</td>
<td>若未达到指定的``width``的长度,则在右侧填充``fillchar``指定的字符串(默认空格)</td>
<td>若未达到指定的<code class="docutils literal">width</code>的长度,则在右侧填充<code class="docutils literal">fillchar</code>指定的字符串(默认空格)</td>
</tr>
<tr>
<td>rjust</td>
<td>若未达到指定的``width``的长度,则在左侧填充``fillchar``指定的字符串(默认空格)</td>
<td>若未达到指定的<code class="docutils literal">width</code>的长度,则在左侧填充<code class="docutils literal">fillchar</code>指定的字符串(默认空格)</td>
</tr>
<tr>
<td>lower</td>
Expand All @@ -806,11 +806,11 @@ string相关操作包括:
</tr>
<tr>
<td>pad</td>
<td>在指定的位置(left,right或者both)用指定填充字符(用``fillchar``指定,默认空格)来对齐</td>
<td>在指定的位置(left,right或者both)用指定填充字符(用<code class="docutils literal">fillchar</code>指定,默认空格)来对齐</td>
</tr>
<tr>
<td>repeat</td>
<td>重复指定``n``次</td>
<td>重复指定<code class="docutils literal">n</code>次</td>
</tr>
<tr>
<td>slice</td>
Expand All @@ -826,7 +826,7 @@ string相关操作包括:
</tr>
<tr>
<td>zfill</td>
<td>长度没达到指定``width``,则左侧填充0</td>
<td>长度没达到指定<code class="docutils literal">width</code>,则左侧填充0</td>
</tr>
<tr>
<td>isalnum</td>
Expand Down Expand Up @@ -999,6 +999,10 @@ string相关操作包括:
<td>dayofweek</td>
<td>同weekday</td>
</tr>
<tr>
<td>strftime</td>
<td>格式化时间,时间格式和Python标准库相同,详细参考<a href='https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior'>Python时间格式化</a></td>
</tr>
</table>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/source/df-quickstart-zh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ DataFrame API提供了value\_counts这个方法来快速达到同样的目的。
现在我们把年龄分成从0到80岁,分成10个年龄段
现在我们把年龄分成从0到80岁,分成8个年龄段

.. code:: python
Expand Down

0 comments on commit 728953c

Please sign in to comment.