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 58cd662 commit 1ba2db3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,17 @@ odps.Schema {
4 Iris-setosa 3.9
```

## Commandline and IPython enhancement
## Command-line and IPython enhancement

```python
>>> %load_ext odps
>>> %enter
>>> %sql select * from pyodps_iris limit 5
```
In [1]: %load_ext odps
In [2]: %enter
Out[2]: <odps.inter.Room at 0x10fe0e450>
In [3]: %sql select * from pyodps_iris limit 5
|==========================================| 1 / 1 (100.00%) 2s
Out[3]:
sepallength sepalwidth petallength petalwidth name
0 5.1 3.5 1.4 0.2 Iris-setosa
1 4.9 3.0 1.4 0.2 Iris-setosa
Expand Down
16 changes: 10 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,19 @@ DataFrame API
3 Iris-setosa 3.6
4 Iris-setosa 3.9
Commandline and IPython enhancement
-----------------------------------
Command-line and IPython enhancement
------------------------------------

.. code:: python
::

In [1]: %load_ext odps

In [2]: %enter
Out[2]: <odps.inter.Room at 0x10fe0e450>

>>> %load_ext odps
>>> %enter
>>> %sql select * from pyodps_iris limit 5
In [3]: %sql select * from pyodps_iris limit 5
|==========================================| 1 / 1 (100.00%) 2s
Out[3]:
sepallength sepalwidth petallength petalwidth name
0 5.1 3.5 1.4 0.2 Iris-setosa
1 4.9 3.0 1.4 0.2 Iris-setosa
Expand Down
2 changes: 1 addition & 1 deletion docs/source/cl-zh.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _cl:

********************
命令行和Ipython增强
命令行和IPython增强
********************

命令行增强
Expand Down

0 comments on commit 1ba2db3

Please sign in to comment.