- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the different ways to install pandas?
Python pandas package can be installed via multiple ways which are −
Using Anaconda distributions Using mini conda Using pip
Using Anaconda distributions
If you are using anaconda distribution already in your system then no need to install pandas again Because pandas is a part of anaconda distribution. So we can directly import the pandas.
To install a specific pandas version, give the below command
conda install pandas=1.1.5
This will install the pandas 1.1.5 version
Using mini conda
Both Anaconda and minconda use the conda package installer, but using anaconda will occupy more system storage. Because anaconda has more than 100 packages, those are automatically installed and the result needs more space.
To overcome this we can use miniconda as it is a minimal version of conda’s installer. Install pandas by using the below command.
conda install pandas
This command will install pandas latest version onto your system.
Using with pip
Pip is a package installer for Python, as we are using python already in our systems we can directly use the below command in the command prompt (for windows users) and terminal (for ubuntu users).
pip install pandas
This will download the pandas package, wait for download completion. If you see any pip up-gradation error then just upgrade the pip by below command
python -m pip install --upgrade pip
And again run pip install pandas command this time it will work.
By using any of these above ways, we can install pandas. After that, we can import pandas by using the import keyword in python, and then only we can work with the pandas package.
- Related Articles
- What are the different ways of cooking eggs?
- What is data handling? What are the different ways to represent data?
- What are the different ways to include dry fruits in our diet?
- What are the different ways to print an exception message in java?
- What are the different ways to iterate over an array in Java?
- What are the different ways in which water gets contaminated?
- What are the different ways in which air gets polluted?
- What are the different ways the transaction can be executed(DBMS)?
- What are the ways to extract features from a DateTime variable using pandas?
- What are the different ways for a method to be overloaded in C#?
- What are different ways of defining functions in JavaScript?
- What Are the Different Ways of Doing Branding Through Digital Marketing?
- What are the different ways in MySQL to add ‘half year interval’ in date?
- What are the different ways to implement dependency injection and their advantages in C#?
- What are the different ways of handling authentication popup window using Selenium?
