提交 e3c33c62 authored 作者: Joseph Turian's avatar Joseph Turian

Added sandbox doc

上级 3bed4bb1
......@@ -145,3 +145,5 @@ More simple numpy stuff
* If we have a matrix with only one row, how do we convert it to a vector?
``x.reshape(x.size)``
You can also use ``resize`` but there is not reason to ''resize''
* How do you convert the type of a numpy array?
``numpy.asarray(x, dtype = 'int32')``
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论