Skip to content

Data manipulation and Data analysis library of python

Notifications You must be signed in to change notification settings

Sudippdn/pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You can find the documentation of pandas here

pandas

Pandas in a python's library that has functions for analyzing, cleaning, exploring, and manipulating data.

How to import pandas in Jupyter nootbook or any other IDE?

To import pandas library, you just need to type this code:

import pandas as pd

How to import files or data in pandas?

There are basically two ways to insert data for manipulation in pandas. They are:

  1. Excel Files
  2. CSV files (commas-separated-values)

1. Excel files

Both excel files read the dataset in a similar manner and the pandas can read the excel file by the following command:

DataFrame = pandas.read_excel("FileName.excel")
DataFrame = pandas.read_excel(r"FilePath.excel")

2. CSV files (comma separated values)

Both excel files read the dataset in a similar manner and the pandas can read the excel file by the following command:

DataFrame = pandas.read_csv("FileName.csv")
DataFrame = pandas.read_csv(r"FilePath.csv")