{ "metadata": { "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.3-final" }, "orig_nbformat": 2, "kernelspec": { "name": "python3", "display_name": "Python 3", "language": "python" } }, "nbformat": 4, "nbformat_minor": 2, "cells": [ { "source": [ "## Linear Regression for Pumpkins - Lesson 2" ], "cell_type": "markdown", "metadata": {} }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " City Name Type Package Variety Sub Variety Grade \\\n", "70 BALTIMORE NaN 1 1/9 bushel cartons PIE TYPE NaN NaN \n", "71 BALTIMORE NaN 1 1/9 bushel cartons PIE TYPE NaN NaN \n", "72 BALTIMORE NaN 1 1/9 bushel cartons PIE TYPE NaN NaN \n", "73 BALTIMORE NaN 1 1/9 bushel cartons PIE TYPE NaN NaN \n", "74 BALTIMORE NaN 1 1/9 bushel cartons PIE TYPE NaN NaN \n", "\n", " Date Low Price High Price Mostly Low ... Unit of Sale Quality \\\n", "70 9/24/16 15.0 15.0 15.0 ... NaN NaN \n", "71 9/24/16 18.0 18.0 18.0 ... NaN NaN \n", "72 10/1/16 18.0 18.0 18.0 ... NaN NaN \n", "73 10/1/16 17.0 17.0 17.0 ... NaN NaN \n", "74 10/8/16 15.0 15.0 15.0 ... NaN NaN \n", "\n", " Condition Appearance Storage Crop Repack Trans Mode Unnamed: 24 \\\n", "70 NaN NaN NaN NaN N NaN NaN \n", "71 NaN NaN NaN NaN N NaN NaN \n", "72 NaN NaN NaN NaN N NaN NaN \n", "73 NaN NaN NaN NaN N NaN NaN \n", "74 NaN NaN NaN NaN N NaN NaN \n", "\n", " Unnamed: 25 \n", "70 NaN \n", "71 NaN \n", "72 NaN \n", "73 NaN \n", "74 NaN \n", "\n", "[5 rows x 26 columns]" ], "text/html": "
\n | City Name | \nType | \nPackage | \nVariety | \nSub Variety | \nGrade | \nDate | \nLow Price | \nHigh Price | \nMostly Low | \n... | \nUnit of Sale | \nQuality | \nCondition | \nAppearance | \nStorage | \nCrop | \nRepack | \nTrans Mode | \nUnnamed: 24 | \nUnnamed: 25 | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70 | \nBALTIMORE | \nNaN | \n1 1/9 bushel cartons | \nPIE TYPE | \nNaN | \nNaN | \n9/24/16 | \n15.0 | \n15.0 | \n15.0 | \n... | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nN | \nNaN | \nNaN | \nNaN | \n
71 | \nBALTIMORE | \nNaN | \n1 1/9 bushel cartons | \nPIE TYPE | \nNaN | \nNaN | \n9/24/16 | \n18.0 | \n18.0 | \n18.0 | \n... | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nN | \nNaN | \nNaN | \nNaN | \n
72 | \nBALTIMORE | \nNaN | \n1 1/9 bushel cartons | \nPIE TYPE | \nNaN | \nNaN | \n10/1/16 | \n18.0 | \n18.0 | \n18.0 | \n... | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nN | \nNaN | \nNaN | \nNaN | \n
73 | \nBALTIMORE | \nNaN | \n1 1/9 bushel cartons | \nPIE TYPE | \nNaN | \nNaN | \n10/1/16 | \n17.0 | \n17.0 | \n17.0 | \n... | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nN | \nNaN | \nNaN | \nNaN | \n
74 | \nBALTIMORE | \nNaN | \n1 1/9 bushel cartons | \nPIE TYPE | \nNaN | \nNaN | \n10/8/16 | \n15.0 | \n15.0 | \n15.0 | \n... | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nNaN | \nN | \nNaN | \nNaN | \nNaN | \n
5 rows × 26 columns
\n