Generally, upon installation, pandas is installed as a Python module in a standard location for third-party Python modules. In the following table, you will see the standard installation location for Unix/ macOS and the Windows platform:
Platform |
Standard installation location |
Example |
Unix/macOS |
prefix/lib/pythonX.Y/site-packages |
/usr/local/lib/python2.7/site-packages |
Windows |
prefix\Lib\site-packages |
C:\Python27\Lib\site-packages |
If Python installation was done with Anaconda, then the pandas module can be found in the Anaconda directory, within a similar file path: Anaconda3\pkgs\pandas-0.23.4-py37h830ac7b_0\Lib\site-packages\pandas.
Now that we have had a look at the module on third-party Python modules, we will understand the file hierarchy. There are eight types of file in the installed Pandas library....