IPython Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
<font size=-2>
<font size=-2>
1.88 ms ± 43.3 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
1.88 ms ± 43.3 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
</font>
==<tt>help()</tt>==
<syntaxhighlight lang='py'>
help(np.array)
</font>
</font>

Revision as of 20:20, 20 May 2024

Internal

Commands

%run

%run some_file.py

%timeit

Times the operation:

%timeit a2 = a * 2

1.88 ms ± 43.3 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

help()

<syntaxhighlight lang='py'> help(np.array)