NumPy learning and sharing
np_creation.py contains,
- np array creation
- type finding (type(array))
np_feature.py contains,
- dimension finding (array.ndim)
- shape finding (array.shape)
- size funding (array.size)
- datatype object finding (array.dtype)
np_typecast.py contains,
- changing type of np array
np_predefined_matrix.py contains,
- to create a initialization array of zeros(np.zeros)
- to create an array of desired constant values (np.full)
np_arange_linspace.py contains,
- implementing range in array (np.arange)
- print desired number of values within a limit (np.linspace)
np_shaping.py contains,
- reshaping array (np.reshape)
- flattening array (np.flatten)
np_list.py contains,
- conversion of list to np array
np_tuple.py contains,
- conversion of tuple to np array
np_random.py contains,
- np.random.rand implementation
- np.random.random implementation
transpose.py contains,
- to find transpose of matrix
np_data_strides.py contains,
- explains regarding memory allocation
np_ones_empty.py contains,
- to create an empty multi dimensional array
- to create an array full of ones
np_uniform.py contains,
- to check uniform distribution over random samples for weight matrix in neural networks
np_binomial.py contains,
- to check binomial distribution over random samples for weight matrix in neural networks
np_id.py contains,
- use of np.identity
np_eye.py contains,
- use of np.eye
np_load.py contains,
- to load data from a file as np array
np_genfromtxt contains,
- the main usage of genfromtxt
np_saving.ipynb contains,
- how to save np array to different file formats
np_sin.ipynb contains,
- sin value angle operations
np_itemsize.py contains,
- how itemsize works on different types in byte format
np_cos.ipynb contains,
- cos value angle operations
np_tan.ipynb contains,
- tan operations in numpy
np_geomspace.ipynb contains,
- geomspace operations and parameters
np_logspace.ipynb contains,
- logspace operations and parameters
np_max_min.ipynb contains,
- max and min on np arrays
np_slice.ipynb contains,
- how to slice an array
np_2d_slice.ipynb contains,
- how to do 2d slicing
np_round.ipynb contains,
- around in numpy
- round in numpy
np_rad_deg.ipynb contains,
- radians usage
- degrees usage
np_rad2deg.ipynb contains,
- rad2deg in numpy
- deg2rad in numpy
np_datetime.ipynb contains,
- date time operations in numpy
np_isnan.ipynb contains,
- checking values with infinity using nan
np_pad.ipynb contains,
- padding operations and modes in arrays
np_repeat.ipynb contains,
- repitition of arrays
np_tile.ipynb contains,
- tiling an array
np_verstack.ipynb contains,
- vertical stack creation using arrays
np_horstack.ipynb contains,
- horizontal stack creation using arrays
np_rev_row_col.ipynb contains,
- reversing rows and reversing columns
np_setops.ipynb contains,
- union,intersection,set difference of numpy arrays