numpy

Description

Flashcards on numpy, created by Aparna Dhirde on 24/03/2020.
Aparna Dhirde
Flashcards by Aparna Dhirde, updated more than 1 year ago
Aparna Dhirde
Created by Aparna Dhirde over 5 years ago
6
0

Resource summary

Question Answer
Array Array is a data type that holds objects of same datatype (numeric, textual, etc.). The elements of an array are stored contiguously in memory. Each element of an array has an index or position value.
NumPy NumPy is a Python library for scientific computing which stores data in a powerful n-dimensional ndarray object for faster calculations.
numpy.array() is a function that returns an object of type numpy.ndarray.
numpy.split() slices apart an array into multiple sub-arrays along an axis.
numpy.concatenate() function can be used to concatenate arrays.
numpy.loadtxt() and numpy.genfromtxt() numpy.loadtxt() and numpy.genfromtxt() are functions used to load data from files. The savetxt() function is used to save a NumPy array to a text file.
Show full summary Hide full summary

Similar

Data Wrangling - Python
Eric Pereira