PadhaiTime Logo
Padhai Time

Install Python Libraries

For your analysis, you may need some of the python libraries. 

- Library for handling excel files

- Library for visualizing Data

- Library for doing mathematical calculations

- Library for creating your machine learning models

What is a library and why do I need it?

Python libraries are a set of useful functions/codes that eliminate the need of writing them from scratch. These are well-written and well-tested codes to perform a particular kind of task. You can simply install and can import them into your project.

You may need the below libraries for your analysis. So try installing them.

Try to run this statement:

import pandas as pd

You will get a module not found error, as it has not been installed in your system yet.

---------------------------------------------------------------------------

ModuleNotFoundError Traceback (most recent call last)

<ipython-input-1-7dd3504c366f> in <module>

----> 1 import pandas as pd

ModuleNotFoundError: No module named 'pandas'

Now install these libraries with command as:

pip install pandas

pip install matplotlib

pip install seaborn

Once installed, you should be able to use them by importing:

import pandas as pd

import numpy as np

import matplotlib.pyplot as plt

import seaborn as sns

Bengaluru, India
contact.padhaitime@gmail.com
  • We collect cookies and may share with 3rd party vendors for analytics, advertising and to enhance your experience. You can read more about our cookie policy by clicking on the 'Learn More' Button. By Clicking 'Accept', you agree to use our cookie technology.
    Our Privacy policy can be found by clicking here