From 77237319b2fc83a48b28602d276b1395313c2047 Mon Sep 17 00:00:00 2001
From: Ravi Dutt Ramanujapu
<41741162+raviduttramanujapu@users.noreply.github.com>
Date: Thu, 28 Nov 2024 11:05:48 +0530
Subject: [PATCH] Created using Colab
---
aboutpandas.ipynb | 448 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 448 insertions(+)
create mode 100644 aboutpandas.ipynb
diff --git a/aboutpandas.ipynb b/aboutpandas.ipynb
new file mode 100644
index 00000000..fc82935e
--- /dev/null
+++ b/aboutpandas.ipynb
@@ -0,0 +1,448 @@
+{
+ "nbformat": 4,
+ "nbformat_minor": 0,
+ "metadata": {
+ "colab": {
+ "provenance": [],
+ "authorship_tag": "ABX9TyPrlxOheq1SbPmvISkJh26G",
+ "include_colab_link": true
+ },
+ "kernelspec": {
+ "name": "python3",
+ "display_name": "Python 3"
+ },
+ "language_info": {
+ "name": "python"
+ }
+ },
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "view-in-github",
+ "colab_type": "text"
+ },
+ "source": [
+ ""
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "q9m3UUdLPkNG"
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "markdown",
+ "source": [
+ "pandas is an open source , bsd licensed library provides hig performance , easy to use data strucures and data analysis tools for the python programming lanaugage\n",
+ "\n",
+ "what is dataframe?\n",
+ "what is data series?\n",
+ "differnet operations in pandas?"
+ ],
+ "metadata": {
+ "id": "RQpc1g07P89r"
+ }
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "# importing pands\n",
+ "import pandas as pd\n",
+ "import numpy as np"
+ ],
+ "metadata": {
+ "id": "HIBQ4_QLQXRM"
+ },
+ "execution_count": 1,
+ "outputs": []
+ },
+ {
+ "cell_type": "markdown",
+ "source": [
+ "\n",
+ "\n",
+ "```\n",
+ "# This is formatted as code\n",
+ "```\n",
+ "\n"
+ ],
+ "metadata": {
+ "id": "G-4nbtXiP6fC"
+ }
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "df=pd.DataFrame(np.arange(0,20).reshape(5,4),index=['Row1','Row2','Row3','Row4','Row5'],columns=['Column1','Column2','Column3','Column4'])\n",
+ "df"
+ ],
+ "metadata": {
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 206
+ },
+ "id": "2wuxHALrQjlG",
+ "outputId": "e7cacf38-dbc4-4726-8ea3-3bfd23ac0ae5"
+ },
+ "execution_count": 3,
+ "outputs": [
+ {
+ "output_type": "execute_result",
+ "data": {
+ "text/plain": [
+ " Column1 Column2 Column3 Column4\n",
+ "Row1 0 1 2 3\n",
+ "Row2 4 5 6 7\n",
+ "Row3 8 9 10 11\n",
+ "Row4 12 13 14 15\n",
+ "Row5 16 17 18 19"
+ ],
+ "text/html": [
+ "\n",
+ "
| \n", + " | Column1 | \n", + "Column2 | \n", + "Column3 | \n", + "Column4 | \n", + "
|---|---|---|---|---|
| Row1 | \n", + "0 | \n", + "1 | \n", + "2 | \n", + "3 | \n", + "
| Row2 | \n", + "4 | \n", + "5 | \n", + "6 | \n", + "7 | \n", + "
| Row3 | \n", + "8 | \n", + "9 | \n", + "10 | \n", + "11 | \n", + "
| Row4 | \n", + "12 | \n", + "13 | \n", + "14 | \n", + "15 | \n", + "
| Row5 | \n", + "16 | \n", + "17 | \n", + "18 | \n", + "19 | \n", + "