{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Scatter Plot\n", "---" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Importing required dependencies." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# primary data structure library\n", "import pandas as pd \n", "\n", "# primary plotting library\n", "import matplotlib.pyplot as plt\n", "\n", "# using the inline backend\n", "%matplotlib inline\n", "\n", "# optional: for ggplot-like style of plots\n", "plt.style.use('ggplot')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Creating a dummy data frame." ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | 0 | \n", "1 | \n", "2 | \n", "3 | \n", "4 | \n", "5 | \n", "6 | \n", "7 | \n", "8 | \n", "9 | \n", "... | \n", "20 | \n", "21 | \n", "22 | \n", "23 | \n", "24 | \n", "25 | \n", "26 | \n", "27 | \n", "28 | \n", "29 | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x | \n", "1 | \n", "2 | \n", "3 | \n", "4 | \n", "5 | \n", "6 | \n", "7 | \n", "8 | \n", "9 | \n", "10 | \n", "... | \n", "21 | \n", "22 | \n", "23 | \n", "24 | \n", "25 | \n", "26 | \n", "27 | \n", "28 | \n", "29 | \n", "30 | \n", "
y | \n", "6 | \n", "5 | \n", "6 | \n", "7 | \n", "8 | \n", "7 | \n", "10 | \n", "5 | \n", "2 | \n", "3 | \n", "... | \n", "1 | \n", "5 | \n", "1 | \n", "9 | \n", "8 | \n", "7 | \n", "4 | \n", "3 | \n", "7 | \n", "6 | \n", "
2 rows × 30 columns
\n", "