Created by Aparna Dhirde
over 4 years ago
|
||
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. |
Want to create your own Flashcards for free with GoConqr? Learn more.