Member-only story

Interview question: What is numpy and how do you create 1D and 2D arrays?

Crystal X
4 min readMar 13, 2023

--

The numpy library was one of the first libraries that I became acquainted with when I began studying data science and perused the Kaggle website, which is a data science company. When I decided to enter a Kaggle competition, I created a Jupyter Notebook and the numpy library was automatically coded into the notebook without my having to do it.

NumPy was first created in 2005 by Travis Oliphant as an open-source numerical computing library for Python. Since then, it has become one of the most popular and widely used libraries for numerical computing in Python.

NumPy is an open-source numerical computing library for Python that provides a powerful set of tools for working with arrays and matrices. It is one of the fundamental building blocks of scientific computing in Python and is used extensively in fields such as physics, engineering, data science, and machine learning.

At its core, NumPy provides a fast and efficient implementation of multi-dimensional arrays and matrices in Python. These arrays are much more efficient than traditional Python lists, both in terms of memory usage and computational speed, namely because parts of the library have been written in the C programming language. NumPy also provides a rich set of functions for performing mathematical operations…

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet