Python numpy Module
This page shows the popular functions and classes defined in the
numpy module.
The items are ordered by their popularity in 40,000 open source Python projects.
If you can not find a good example below, you can try
the search function
to search modules.
-
1. array()Used in 10038 projects
-
2. zeros()Used in 8660 projects
-
3. arange()Used in 5633 projects
-
4. float32()Used in 5429 projects
-
5. mean()Used in 5411 projects
-
6. sum()Used in 5261 projects
-
Used in 4716 projects
-
8. ones()Used in 4705 projects
-
9. sqrt()Used in 4447 projects
-
10. max()Used in 4132 projects
-
11. asarray()Used in 4014 projects
-
12. uint8()Used in 3611 projects
-
13. argmax()Used in 3544 projects
-
14. ndarray()Used in 3442 projects
-
15. where()Used in 3362 projects
-
16. int32()Used in 3073 projects
-
17. exp()Used in 3013 projects
-
18. linspace()Used in 2860 projects
-
19. abs()Used in 2792 projects
-
20. log()Used in 2782 projects
-
21. min()Used in 2718 projects
-
22. dot()Used in 2648 projects
-
23. pi()Used in 2611 projects
-
24. reshape()Used in 2521 projects
-
25. vstack()Used in 2500 projects
-
26. load()Used in 2448 projects
-
27. empty()Used in 2419 projects
-
28. argsort()Used in 2344 projects
-
29. unique()Used in 2286 projects
-
30. expand_dims()Used in 2259 projects
-
31. newaxis()Used in 2189 projects
-
32. transpose()Used in 2118 projects
-
33. hstack()Used in 2091 projects
-
34. std()Used in 2086 projects
-
35. ceil()Used in 2071 projects
-
36. inf()Used in 2009 projects
-
37. float64()Used in 2004 projects
-
38. sin()Used in 1990 projects
-
39. clip()Used in 1950 projects
-
40. prod()Used in 1939 projects
-
41. zeros_like()Used in 1925 projects
-
42. maximum()Used in 1896 projects
-
43. cos()Used in 1868 projects
-
44. round()Used in 1823 projects
-
45. all()Used in 1820 projects
-
46. isnan()Used in 1819 projects
-
47. float()Used in 1727 projects
-
48. nan()Used in 1712 projects
-
49. floor()Used in 1702 projects
-
50. stack()Used in 1688 projects
-
51. append()Used in 1642 projects
-
52. copy()Used in 1610 projects
-
53. tile()Used in 1604 projects
-
54. int()Used in 1602 projects
-
55. save()Used in 1595 projects
-
56. int64()Used in 1567 projects
-
57. eye()Used in 1560 projects
-
58. squeeze()Used in 1558 projects
-
59. any()Used in 1509 projects
-
60. minimum()Used in 1495 projects
-
61. cumsum()Used in 1490 projects
-
62. repeat()Used in 1318 projects
-
63. sort()Used in 1302 projects
-
64. meshgrid()Used in 1294 projects
-
65. allclose()Used in 1241 projects
-
66. power()Used in 1198 projects
-
67. argmin()Used in 1144 projects
-
68. bool()Used in 1132 projects
-
69. median()Used in 1090 projects
-
70. diag()Used in 1076 projects
-
71. full()Used in 1048 projects
-
72. loadtxt()Used in 1015 projects
-
73. ones_like()Used in 966 projects
-
74. dtype()Used in 947 projects
-
75. logical_and()Used in 930 projects
-
76. pad()Used in 909 projects
-
77. sign()Used in 886 projects
-
78. array_equal()Used in 884 projects
-
79. multiply()Used in 878 projects
-
80. delete()Used in 866 projects
-
81. finfo()Used in 864 projects
-
82. amax()Used in 861 projects
-
83. shape()Used in 848 projects
-
84. nonzero()Used in 844 projects
-
85. average()Used in 841 projects
-
86. log10()Used in 810 projects
-
87. savetxt()Used in 788 projects
-
88. int16()Used in 781 projects
-
89. fromstring()Used in 770 projects
-
90. square()Used in 767 projects
-
91. percentile()Used in 740 projects
-
92. frombuffer()Used in 730 projects
-
93. logical_not()Used in 730 projects
-
94. histogram()Used in 699 projects
-
95. int8()Used in 694 projects
-
96. diff()Used in 683 projects
-
97. isclose()Used in 679 projects
-
98. arctan2()Used in 664 projects
-
99. count_nonzero()Used in 641 projects
-
100. isfinite()Used in 640 projects
-
101. roll()Used in 593 projects
-
102. matmul()Used in 587 projects
-
103. set_printoptions()Used in 586 projects
-
104. ascontiguousarray()Used in 579 projects
-
105. divide()Used in 577 projects
-
106. split()Used in 576 projects
-
107. var()Used in 571 projects
-
108. get_include()Used in 569 projects
-
109. uint16()Used in 569 projects
-
110. identity()Used in 547 projects
-
111. log2()Used in 547 projects
-
112. uint32()Used in 543 projects
-
113. bincount()Used in 542 projects
-
114. dstack()Used in 533 projects
-
115. column_stack()Used in 526 projects
-
116. fromfile()Used in 523 projects
-
117. isinf()Used in 522 projects
-
118. nanmean()Used in 516 projects
-
119. outer()Used in 515 projects
-
120. arccos()Used in 510 projects
-
121. amin()Used in 506 projects
-
122. argwhere()Used in 504 projects
-
123. logical_or()Used in 498 projects
-
124. savez()Used in 493 projects
-
125. matrix()Used in 487 projects
-
126. searchsorted()Used in 473 projects
-
127. flip()Used in 439 projects
-
128. cross()Used in 436 projects
-
129. unravel_index()Used in 435 projects
-
130. fliplr()Used in 431 projects
-
131. flipud()Used in 431 projects
-
132. real()Used in 427 projects
-
133. mod()Used in 424 projects
-
134. ravel()Used in 421 projects
-
135. absolute()Used in 418 projects
-
136. nan_to_num()Used in 410 projects
-
137. interp()Used in 403 projects
-
138. isscalar()Used in 399 projects
-
139. genfromtxt()Used in 393 projects
-
140. insert()Used in 389 projects
-
141. add()Used in 388 projects
-
142. integer()Used in 387 projects
-
143. size()Used in 386 projects
-
144. empty_like()Used in 370 projects
-
145. float16()Used in 366 projects
-
146. c_()Used in 366 projects
-
147. around()Used in 365 projects
-
148. r_()Used in 362 projects
-
149. atleast_2d()Used in 362 projects
-
150. atleast_1d()Used in 361 projects
-
151. mgrid()Used in 354 projects
-
152. array_split()Used in 349 projects
-
153. subtract()Used in 348 projects
-
154. tanh()Used in 344 projects
-
155. swapaxes()Used in 343 projects
-
156. cov()Used in 336 projects
-
157. issubdtype()Used in 316 projects
-
158. arctan()Used in 315 projects
-
159. iinfo()Used in 315 projects
-
160. vectorize()Used in 308 projects
-
161. tan()Used in 307 projects
-
162. nanmax()Used in 303 projects
-
163. logspace()Used in 300 projects
-
164. uint64()Used in 299 projects
-
165. errstate()Used in 296 projects
-
166. rollaxis()Used in 295 projects
-
167. random()Used in 292 projects
-
168. einsum()Used in 285 projects
-
169. nanmin()Used in 282 projects
-
170. deg2rad()Used in 281 projects
-
171. bool_()Used in 280 projects
-
172. trace()Used in 279 projects
-
173. arcsin()Used in 270 projects
-
174. rot90()Used in 268 projects
-
175. seterr()Used in 266 projects
-
176. take()Used in 263 projects
-
177. product()Used in 261 projects
-
178. convolve()Used in 258 projects
-
179. savez_compressed()Used in 256 projects
-
180. equal()Used in 255 projects
-
181. argpartition()Used in 255 projects
-
182. setdiff1d()Used in 254 projects
-
183. corrcoef()Used in 254 projects
-
184. NaN()Used in 253 projects
-
185. rint()Used in 246 projects
-
186. digitize()Used in 242 projects
-
187. intersect1d()Used in 239 projects
-
188. angle()Used in 238 projects
-
189. in1d()Used in 237 projects
-
190. less()Used in 234 projects
-
191. apply_along_axis()Used in 233 projects
-
192. double()Used in 228 projects
-
193. polyfit()Used in 227 projects
-
194. Inf()Used in 225 projects
-
195. floating()Used in 224 projects
-
196. radians()Used in 219 projects
-
197. greater()Used in 217 projects
-
198. fill_diagonal()Used in 214 projects
-
199. resize()Used in 210 projects
-
200. e()Used in 210 projects
-
201. ogrid()Used in 209 projects
-
202. object()Used in 207 projects
-
203. trapz()Used in 207 projects
-
204. spacing()Used in 199 projects
-
205. triu()Used in 197 projects
-
206. imag()Used in 194 projects
-
207. ndim()Used in 190 projects
-
208. rad2deg()Used in 188 projects
-
209. broadcast_to()Used in 188 projects
-
210. log1p()Used in 187 projects
-
211. invert()Used in 187 projects
-
212. conj()Used in 186 projects
-
213. complex128()Used in 185 projects
-
214. flatnonzero()Used in 184 projects
-
215. copyto()Used in 183 projects
-
216. __version__()Used in 181 projects
-
217. moveaxis()Used in 181 projects
-
218. isin()Used in 181 projects
-
219. complex64()Used in 180 projects
-
220. nansum()Used in 176 projects
-
221. asanyarray()Used in 175 projects
-
222. fabs()Used in 174 projects
-
223. ix_()Used in 170 projects
-
224. number()Used in 164 projects
-
225. lexsort()Used in 163 projects
-
226. asscalar()Used in 161 projects
-
227. fromiter()Used in 159 projects
-
228. int_()Used in 158 projects
-
229. complex()Used in 154 projects
-
230. datetime64()Used in 150 projects
-
231. degrees()Used in 150 projects
-
232. indices()Used in 149 projects
-
233. hanning()Used in 148 projects
-
234. nanstd()Used in 148 projects
-
235. full_like()Used in 148 projects
-
236. nditer()Used in 147 projects
-
237. kron()Used in 139 projects
-
238. nanmedian()Used in 136 projects
-
239. asfortranarray()Used in 134 projects
-
240. get_numpy_include()Used in 133 projects
-
241. str()Used in 133 projects
-
242. ravel_multi_index()Used in 132 projects
-
243. gradient()Used in 131 projects
-
244. float_()Used in 130 projects
-
245. memmap()Used in 130 projects
-
246. ndindex()Used in 130 projects
-
247. tril()Used in 129 projects
-
248. generic()Used in 129 projects
-
249. ndenumerate()Used in 129 projects
-
250. string_()Used in 124 projects
-
251. greater_equal()Used in 121 projects
-
252. diagonal()Used in 118 projects
-
253. poly1d()Used in 118 projects
-
254. logical_xor()Used in 118 projects
-
255. intp()Used in 117 projects
-
256. tensordot()Used in 117 projects
-
257. inner()Used in 116 projects
-
258. mat()Used in 116 projects
-
259. hypot()Used in 113 projects
-
260. iscomplexobj()Used in 110 projects
-
261. true_divide()Used in 110 projects
-
262. fmax()Used in 109 projects
-
263. triu_indices()Used in 107 projects
-
264. arrays()Used in 104 projects
-
265. str_()Used in 104 projects
-
266. cast()Used in 103 projects
-
267. negative()Used in 102 projects
-
268. row_stack()Used in 102 projects
-
269. s_()Used in 97 projects
-
270. histogram2d()Used in 97 projects
-
271. array2string()Used in 97 projects
-
272. alltrue()Used in 96 projects
-
273. timedelta64()Used in 96 projects
-
274. union1d()Used in 95 projects
-
275. intc()Used in 92 projects
-
276. less_equal()Used in 91 projects
-
277. cosh()Used in 91 projects
-
278. infty()Used in 91 projects
-
279. cumprod()Used in 91 projects
-
280. sinh()Used in 89 projects
-
281. roots()Used in 89 projects
-
282. conjugate()Used in 88 projects
-
283. bitwise_and()Used in 88 projects
-
284. not_equal()Used in 86 projects
-
285. NANUsed in 86 projects
-
286. long()Used in 85 projects
-
287. polyval()Used in 84 projects
-
288. arctanh()Used in 83 projects
-
289. void()Used in 83 projects
-
290. nanpercentile()Used in 83 projects
-
291. hamming()Used in 83 projects
-
292. asmatrix()Used in 81 projects
-
293. ptp()Used in 80 projects
-
294. reciprocal()Used in 79 projects
-
295. uint()Used in 74 projects
-
296. packbits()Used in 74 projects
-
297. logaddexp()Used in 73 projects
-
298. nanargmin()Used in 73 projects
-
299. quantile()Used in 73 projects
-
300. object_()Used in 72 projects
-
301. remainder()Used in 72 projects
-
302. bitwise_or()Used in 70 projects
-
303. require()Used in 70 projects
-
304. diag_indices()Used in 69 projects
-
305. int0()Used in 69 projects
-
306. fix()Used in 69 projects
-
307. broadcast_arrays()Used in 69 projects
-
308. atleast_3d()Used in 69 projects
-
309. asfarray()Used in 68 projects
-
310. correlate()Used in 68 projects
-
311. get_printoptions()Used in 66 projects
-
312. unpackbits()Used in 66 projects
-
313. tril_indices()Used in 65 projects
-
314. testing()Used in 65 projects
-
315. array_str()Used in 64 projects
-
316. float128()Used in 62 projects
-
317. choose()Used in 61 projects
-
318. expm1()Used in 60 projects
-
319. isreal()Used in 60 projects
-
320. nanargmax()Used in 60 projects
-
321. partition()Used in 60 projects
-
322. arcsinh()Used in 59 projects
-
323. floor_divide()Used in 59 projects
-
324. place()Used in 57 projects
-
325. linalg()Used in 56 projects
-
326. compress()Used in 56 projects
-
327. NINFUsed in 56 projects
-
328. recarray()Used in 56 projects
-
329. vdot()Used in 56 projects
-
330. unicode_()Used in 56 projects
-
331. exp2()Used in 56 projects
-
332. unwrap()Used in 56 projects
-
333. sinc()Used in 54 projects
-
334. bytes_()Used in 54 projects
-
335. nanvar()Used in 54 projects
-
336. ndarrays()Used in 53 projects
-
337. ubyte()Used in 53 projects
-
338. hsplit()Used in 53 projects
-
339. bitwise_xor()Used in 52 projects
-
340. result_type()Used in 52 projects
-
341. broadcast()Used in 52 projects
-
342. vsplit()Used in 52 projects
-
343. complex_()Used in 51 projects
-
344. fromfunction()Used in 51 projects
-
345. histogramdd()Used in 51 projects
-
346. put()Used in 50 projects
-
347. extract()Used in 49 projects
-
348. bmat()Used in 49 projects
-
349. diagflat()Used in 49 projects
-
350. ufunc()Used in 48 projects
-
351. byte()Used in 48 projects
-
352. fmin()Used in 48 projects
-
353. nextafter()Used in 47 projects
-
354. fft()Used in 46 projects
-
355. triu_indices_from()Used in 46 projects
-
356. cbrt()Used in 46 projects
-
357. block()Used in 45 projects
-
358. trunc()Used in 44 projects
-
359. iterable()Used in 44 projects
-
360. __name__()Used in 44 projects
-
361. fmod()Used in 43 projects
-
362. trim_zeros()Used in 43 projects
-
363. blackman()Used in 42 projects
-
364. promote_types()Used in 42 projects
-
365. take_along_axis()Used in 42 projects
-
366. complexfloating()Used in 41 projects
-
367. isneginf()Used in 41 projects
-
368. can_cast()Used in 41 projects
-
369. arccosh()Used in 41 projects
-
370. ediff1d()Used in 41 projects
-
371. copysign()Used in 41 projects
-
372. select()Used in 40 projects
-
373. right_shift()Used in 40 projects
-
374. typecodes()Used in 39 projects
-
375. array_equiv()Used in 39 projects
-
376. tri()Used in 39 projects
-
377. diag_indices_from()Used in 38 projects
-
378. single()Used in 37 projects
-
379. binary_repr()Used in 37 projects
-
380. short()Used in 37 projects
-
381. isrealobj()Used in 37 projects
-
382. putmask()Used in 36 projects
-
383. left_shift()Used in 36 projects
-
384. bitwise_not()Used in 36 projects
-
385. divmod()Used in 36 projects
-
386. chararray()Used in 35 projects
-
387. may_share_memory()Used in 35 projects
-
388. inexact()Used in 34 projects
-
389. piecewise()Used in 34 projects
-
390. isposinf()Used in 34 projects
-
391. bartlett()Used in 33 projects
-
392. poly()Used in 33 projects
-
393. longdouble()Used in 33 projects
-
394. vander()Used in 33 projects
-
395. modf()Used in 33 projects
-
396. unicode()Used in 32 projects
-
397. ma()Used in 31 projects
-
398. kaiser()Used in 31 projects
-
399. __file__()Used in 30 projects
-
400. frompyfunc()Used in 30 projects
-
401. geterr()Used in 29 projects
-
402. find_common_type()Used in 29 projects
-
403. frexp()Used in 28 projects
-
404. ComplexWarning()Used in 28 projects
-
405. geomspace()Used in 28 projects
-
406. sctypes()Used in 27 projects
-
407. rank()Used in 27 projects
-
408. round_()Used in 27 projects
-
Used in 27 projects
-
410. longlong()Used in 27 projects
-
411. signedinteger()Used in 27 projects
-
412. asarray_chkfinite()Used in 26 projects
-
413. base_repr()Used in 26 projects
-
414. index_exp()Used in 26 projects
-
415. nanprod()Used in 26 projects
-
416. polyder()Used in 26 projects
-
417. unsignedinteger()Used in 26 projects
-
418. uintp()Used in 25 projects
-
419. recfromcsv()Used in 25 projects
-
420. ushort()Used in 24 projects
-
421. sometrue()Used in 24 projects
-
422. setxor1d()Used in 24 projects
-
423. logaddexp2()Used in 24 projects
-
424. signbit()Used in 24 projects
-
425. ldexp()Used in 24 projects
-
426. core()Used in 24 projects
-
427. float_power()Used in 24 projects
-
428. bool8()Used in 23 projects
-
429. distutils()Used in 23 projects
-
430. show_config()Used in 23 projects
-
431. common_type()Used in 23 projects
-
432. irr()Used in 23 projects
-
433. min_scalar_type()Used in 23 projects
-
434. typeDict()Used in 23 projects
-
435. msort()Used in 23 projects
-
436. ulonglong()Used in 23 projects
-
437. uintc()Used in 23 projects
-
438. fromregex()Used in 23 projects
-
439. real_if_close()Used in 23 projects
-
440. array_repr()Used in 23 projects
-
441. char()Used in 22 projects
-
442. _NoValue()Used in 22 projects
-
443. byte_bounds()Used in 22 projects
-
444. pmt()Used in 22 projects
-
445. deprecate()Used in 22 projects
-
446. ScalarType()Used in 21 projects
-
Used in 21 projects
-
448. i0()Used in 21 projects
-
449. polyint()Used in 21 projects
-
450. shares_memory()Used in 21 projects
-
451. pv()Used in 21 projects
-
452. tril_indices_from()Used in 21 projects
-
453. alen()Used in 21 projects
-
454. isfortran()Used in 21 projects
-
455. busday_count()Used in 21 projects
-
456. recfromtxt()Used in 21 projects
-
457. sort_complex()Used in 21 projects
-
458. positive()Used in 21 projects
-
459. test()Used in 20 projects
-
460. disp()Used in 20 projects
-
461. polymul()Used in 20 projects
-
462. RandomState()Used in 20 projects
-
463. info()Used in 20 projects
-
464. fv()Used in 20 projects
-
465. ipmt()Used in 20 projects
-
466. nper()Used in 20 projects
-
467. npv()Used in 20 projects
-
468. datetime_as_string()Used in 20 projects
-
469. ppmt()Used in 20 projects
-
470. f2py()Used in 20 projects
-
471. isnat()Used in 20 projects
-
472. AxisError()Used in 20 projects
-
473. lib()Used in 19 projects
-
474. record()Used in 19 projects
-
475. __all__()Used in 19 projects
-
476. compat()Used in 19 projects
-
Used in 19 projects
-
478. funcname()Used in 19 projects
-
479. lookfor()Used in 19 projects
-
480. io()Used in 19 projects
-
481. safe_eval()Used in 19 projects
-
482. source()Used in 19 projects
-
483. obj2sctype()Used in 19 projects
-
484. NZEROUsed in 19 projects
-
485. who()Used in 19 projects
-
486. character()Used in 18 projects
-
487. half()Used in 18 projects
-
488. is_busday()Used in 18 projects
-
489. rate()Used in 18 projects
-
490. busday_offset()Used in 18 projects
-
491. mirr()Used in 18 projects
-
492. datetime_data()Used in 18 projects
-
493. PZEROUsed in 18 projects
-
494. geterrcall()Used in 18 projects
-
495. nancumsum()Used in 18 projects
-
496. einsum_path()Used in 18 projects
-
497. seterrcall()Used in 18 projects
-
498. csingle()Used in 17 projects
-
499. MAXDIMSUsed in 17 projects
-
500. busdaycalendar()Used in 17 projects
-
501. mafromtxt()Used in 17 projects
-
502. True_()Used in 17 projects
-
503. polydiv()Used in 17 projects
-
504. ndfromtxt()Used in 17 projects
-
505. printoptions()Used in 17 projects
-
506. apply_over_axes()Used in 17 projects
-
507. cdouble()Used in 16 projects
-
508. iscomplex()Used in 16 projects
-
509. clongdouble()Used in 16 projects
-
510. longcomplex()Used in 16 projects
-
511. nancumprod()Used in 16 projects
-
Used in 16 projects
-
513. nested_iters()Used in 15 projects
-
514. format_parser()Used in 15 projects
-
515. Infinity()Used in 15 projects
-
516. infi()Used in 15 projects
-
517. add_newdoc()Used in 15 projects
-
518. setbufsize()Used in 15 projects
-
519. getbuffer()Used in 15 projects
-
520. typeNA()Used in 15 projects
-
521. False_()Used in 15 projects
-
Used in 15 projects
-
523. nanquantile()Used in 15 projects
-
524. seterrobj()Used in 14 projects
-
525. Array()Used in 14 projects
-
526. loads()Used in 14 projects
-
527. geterrobj()Used in 14 projects
-
Used in 14 projects
-
529. string()Used in 14 projects
-
530. repeate()Used in 14 projects
-
Used in 14 projects
-
532. TooHardError()Used in 13 projects
-
533. lcm()Used in 13 projects
-
534. cumproduct()Used in 13 projects
-
535. gcd()Used in 13 projects
-
536. dsplit()Used in 12 projects
-
537. euler_gamma()Used in 12 projects
-
538. PINFUsed in 10 projects
-
539. nans()Used in 10 projects
-
540. issubclass_()Used in 10 projects
-
541. ndarry()Used in 10 projects
-
542. sctypeDict()Used in 10 projects
-
543. complex256()Used in 9 projects
-
544. heaviside()Used in 9 projects
-
545. is_any_nan()Used in 9 projects
-
546. __dict__()Used in 9 projects
-
547. __path__()Used in 8 projects
-
548. flexible()Used in 8 projects
-
549. RankWarning()Used in 8 projects
-
550. matlib()Used in 8 projects
-
551. zeroes()Used in 7 projects
-
552. range()Used in 7 projects
-
553. float96()Used in 7 projects
-
554. maximum_sctype()Used in 7 projects
-
555. flatiter()Used in 7 projects
-
556. ctypeslib()Used in 6 projects
-
557. rand()Used in 6 projects
-
558. darray()Used in 6 projects
-
559. issubsctype()Used in 6 projects
-
560. sctype2char()Used in 6 projects
-
561. ndarrary()Used in 6 projects
-
562. nanxyz()Used in 6 projects
-
563. quaternion()Used in 5 projects
-
564. mintypecode()Used in 5 projects
-
565. longfloat()Used in 5 projects
-
566. little_endian()Used in 5 projects
-
567. string0()Used in 5 projects
-
568. type()Used in 5 projects
-
569. float16_t()Used in 5 projects
-
570. norm()Used in 5 projects
-
571. flatten()Used in 5 projects
-
572. issctype()Used in 5 projects
-
573. inv()Used in 5 projects