Why are NumPy and Pandas used?

Uses of NumPy and Pandas.

NumPy, Pandas is one of the most widely used python libraries in data science. It provides high-performance, easy to use structures, and data analysis tools. Unlike the NumPy library which provides objects for multi-dimensional arrays, Pandas provides an in-memory 2d table object called Dataframe.

Numpy

It is a nice computing library that allows you to use arrays in python. Python currently dose not have built in array support (lists and tuples are different from arrays). And it also allows you perform matrix or vector operations.

Pandas

Pandas is made for data manipulation. using pandas you can directly load the csv, html, json, txt and other formats into python and handle it. It has a lot of built in functions which makes the work easier for you.