From e830336a54f5f6bce6e597df9900ee35b7a71709 Mon Sep 17 00:00:00 2001 From: HimakarC <116370824+HimakarC@users.noreply.github.com> Date: Fri, 17 May 2024 18:25:40 +0530 Subject: [PATCH] Create excel_with_pandas.md --- contrib/pandas/excel_with_pandas.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/pandas/excel_with_pandas.md b/contrib/pandas/excel_with_pandas.md index 13218d6..5798444 100644 --- a/contrib/pandas/excel_with_pandas.md +++ b/contrib/pandas/excel_with_pandas.md @@ -5,11 +5,20 @@ The Pandas DataFrame is a two-dimensional, size-mutable, and possibly heterogene In the real world, Pandas DataFrames are formed by importing datasets from existing storage, which can be a Excel file, a SQL database or CSV file. Pandas DataFrames may be constructed from lists, dictionaries, or lists of dictionaries, etc. +Features of Pandas `DataFrame`: + +- **Size mutable**: DataFrames are mutable in size, meaning that new rows and columns can be added or removed as needed. +- **Labeled axes**: DataFrames have labeled axes, which makes it easy to keep track of the data. +- **Arithmetic operations**: DataFrames support arithmetic operations on rows and columns. +- **High performance**: DataFrames are highly performant, making them ideal for working with large datasets. + + ### Installation of libraries `pip install pandas`
`pip install xlrd` +- **Note**: The `xlrd` library is used for Excel operations. Example for reading data from an Excel File: