python pandas

 Pandas  = Its name is short after “panel data structures”

Pandas is an extension of Python related to Analytics

Install Anaconda distribution

https://www.anaconda.com/download

https://www.anaconda.com/docs/main

Anaconda navigator

https://jupyter.org/

https://pandas.pydata.org/

A screenshot of a chat

AI-generated content may be incorrect.

 

Create a new environment with name “Pandas-Playground”

Added the

Pandas

Bottleneck

Numexpr

 

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

 

In jupyter

For each code in cell > will be executed by python server ( kernel) which listens continuously for the commands


Shutdown after all closing the files

 

A screenshot of a computer

AI-generated content may be incorrect.

 

Jupyter notebook

Jupyter

Code cell

Notebook

                Edit mode ( mouse click )

                Command mode ( escape  key )

                                A = new row above

                                B = new row below

                                C = copy data

                                X = cut data

                                V = past data

                                Shift + Enter = Execute cell

                Raw = Raw data

                Code = python code

                Mark down = Emphasizing data

 

               Pd. ( press tab for more details)

 

 

Shift + Enter > runs the command and moves to the next cell ( new cell will be created if its end of the page)

Ctrl + Enter > runs the command and stays at the same cell.

                Interrupt the kernel

                Restart the Kernel

                Restart the kernel and run cells

 

Install the Pandas library

                Import pandas

                Import pandas as pd ( alias name ) for short and fast typing

 

 

Pandas Series

 

  • A pandas Series is a one-dimensional labelled array.
  • A Series combines the best features of a list and a dictionary.
  • A Series maintains a single collection of ordered values (i.e. a single column of data).
  • We can assign each value an identifier, which does not have to be unique.

 

 

https://pandas.pydata.org/docs/user_guide/10min.html#object-creation

https://pandas.pydata.org/docs/reference/api/pandas.Series.html

https://pandas.pydata.org/docs/reference/api/pandas.Series.html

https://pandas.pydata.org/docs/reference/api/pandas.Series.sum.html#pandas.Series.sum

https://pandas.pydata.org/docs/reference/api/pandas.Series.product.html#pandas.Series.product

https://pandas.pydata.org/docs/reference/api/pandas.Series.mean.html#pandas.Series.mean

https://pandas.pydata.org/docs/reference/api/pandas.Series.html

 

 

Udemy course [ Python Pandas ]

Data Analysis with Pandas and Python Boris Paskhaver 

 

 

 

 

How to Uninstall the Anaconda Distribution

In case you need to remove Anaconda, the complete instructions for uninstalling the distribution can be found here:

https://docs.anaconda.com/free/anaconda/install/uninstall/

There are two options available: the more comprehensive Full Uninstall and the easier Simple remove. The Simple remove option may leave some files/folders behind on the hard drive but will uninstall the core/bulk of the distribution.

Windows

  1. Open your Windows File Explorer.
  2. In your user folder (the one that is named after the user you're logged into), locate the anaconda3 directory.
  3. Delete the envs and pkgs folders. The easiest way is to select them, then click the Trash icon on the top toolbar. Alternatively, right-click and select the Trash Icon on the pop-up modal.
  4. Use the Start menu to search for Add or remove programs.
  5. Locate the Anaconda program, then click the three-dot menu on the right, and select Uninstall.
  6. Confirm by clicking the Uninstall button in the modal.

A screenshot of a computer

AI-generated content may be incorrect.A screenshot of a computer

AI-generated content may be incorrect.

macOS

  1. Press Cmd + Space to bring up Spotlight Search. 
  2. Search for Terminal in the input field and open the Terminal application.
  3. The Terminal is a prompt for issuing text commands to your computer. Execute the following commands one at a time to delete Anaconda 3 folders. The rm -rf command removes/deletes directories on the computer. Anaconda may be installed in different locations which is why there are multiple commands.
  1. rm -rf anaconda3
  2. rm -rf ~/anaconda3
  3. rm -rf ~/opt/anaconda3

 

Comments

Popular posts from this blog

clinical_app

Workplace Backstabbing False Story Defense Kit

Python_While_Loop