提交 028b8380 authored 作者: Joseph Turian's avatar Joseph Turian

Added something else to sandbox

上级 1245d1c7
......@@ -137,3 +137,11 @@ Type checking
"if isinstance(item, int):" is the preferred way to do it in
python now, so mimic this
If the type is wrong, what exception should be raised?
======================================
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''
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论