Select Git revision
-
Martin Mareš authoredMartin Mareš authored
notes 607 B
https://numpy.org/devdocs/reference/
np.array([], dtype=...)
np.zeros((3, 4))
np.ones((3, 4), dtype=...)
zeros_like
ones_like
reshape
arange
linspace
+ * @
a.sum(), min, max
a.sum(axis=0)
a.shape [pozor, není to funkce]
slices [pozor, nekopírují]
a.copy()
stretching
matplotlib.pyplot.annotate(s, xy, *args, **kwargs)
axis(\*args, \*\*kwargs)
bar
clf()
figlegend
fig = figure(figsize=...)
grid
hist ?
savefig
show
subplot
title
xlabel
ylabel
xlim
ylim
x/yscale
suptitle
text
tick_params
xkcd
random.seed
randrange
random
uniform
choice
choices(list, k=10)
shuffle(list)
sample(list, k=10)