Skip to content

Commit

Permalink
fix import numpy in README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
qinxuye committed Dec 20, 2018
1 parent a9a7736 commit c09c37b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Mars tensor provides a familiar interface like Numpy.
+------------------------------------------------+----------------------------------------------------+
|.. code-block:: python |.. code-block:: python |
| | |
| import numpy | import mars.tensor as mt |
| import numpy as np | import mars.tensor as mt |
| a = np.random.rand(1000, 2000) | a = mt.random.rand(1000, 2000) |
| (a + 1).sum(axis=1) | (a + 1).sum(axis=1).execute() |
| | |
Expand Down Expand Up @@ -183,4 +183,4 @@ Thank you in advance for your contributions!
.. |Implementation| image:: https://img.shields.io/pypi/implementation/pymars.svg?style=flat-square
.. _`mars-dev@googlegroups.com`: https://groups.google.com/forum/#!forum/mars-dev
.. _`GitHub issue`: https://github.com/mars-project/mars/issues
.. _`pull requests`: https://github.com/mars-project/mars/pulls
.. _`pull requests`: https://github.com/mars-project/mars/pulls

0 comments on commit c09c37b

Please sign in to comment.