Previous topic

numpy.ufunc.at

Next topic

Array creation routines

Routines

在本章中,将介绍常规文档字符串,按功能分组。 许多文档字符串包含示例代码,它演示了例程的基本用法。 这些示例假定NumPy是通过以下方式导入的:

>>> import numpy as np

A convenient way to execute examples is the %doctest_mode mode of IPython, which allows for pasting of multi-line examples and preserves indentation.