{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "** NAVIGATION **\n", "\n", "**Got Pandas? _Practical Data Wrangling with Pandas_**\n", "\n", "* [Introduction](./0_introduction.ipynb)\n", "1. [Data Structures](./1_data_structures.ipynb)\n", "2. **Importing Data**\n", "3. [Manipulating DataFrames](./3_dataframe_operations.ipynb)\n", "4. [Wrap Up](4_wrapping_up.ipynb)\n", "\n", "---" ] }, { "cell_type": "markdown", "metadata": { "toc": "true" }, "source": [ "# Table of Contents\n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Importing Data in Pandas\n", "\n", "Pandas supports a number of data formats out of the box including:\n", "\n", "* CSV, Excel\n", "* JSON\n", "* HDF5\n", "* SQL databases\n", "* and others\n", "\n", "The major benefit for using Pandas to load these data is that it provides a simple, consistent mechanism for each of them and loads them directly into the Pandas DataFrame in a single operation, reducing the need to go elsewhere to perform the same operations with more code or overhead.\n", "\n", "Pandas I/O supports loading these data formats directly from local storage or using a URL containing such data. The convenience being that the resource string used can be either a local/network file string or a URL.\n", "\n", "**NOTEBOOK OBJECTIVES**\n", "\n", "In this notebook we'll:\n", "\n", "* load a local and remote csv file, \n", "* load Excel datafile,\n", "* load JSON data,\n", "* load data via SQL queries." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Importing Pandas\n", "\n", "You will most often load the Pandas library with the following line:" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import pandas as pd" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Loading CSV and Excel\n", "\n", "### CSV\n", "\n", "CSV files are still a staple in data file formats. They're portable, flexible, flat, usually easy to parse and ubiquitous. We will begin by showing how to use Pandas to load CSV directly into a DataFrame.\n", "\n", "**DATA SOURCE**\n", "\n", "US Baseball Statistics Archive by Sean Lahman (CCBY-SA 3.0):\n", "\n", "* [http://seanlahman.com/baseball-archive/statistics/](http://seanlahman.com/baseball-archive/statistics/)\n", "* [https://github.com/chadwickbureau/baseballdatabank](https://github.com/chadwickbureau/baseballdatabank)\n", "\n", "We have put the dataset for [batting data](./datasets/Batting.csv) into our local `datasets` folder.\n", "\n", "Loading this into a Pandas DataFrame will require us to use the [`read_csv`](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html#pandas.read_csv) function, which will attempt to load the CSV data directly into the DataFrame." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "df = pd.read_csv(\"./datasets/Batting.csv\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "If we inspect this DataFrame, will get exactly what we expect -- each line corresponding to the row in file. __NOTE__: where there are missing values, Pandas will automatically fill the data with `NaN`." ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " | playerID | \n", "yearID | \n", "stint | \n", "teamID | \n", "lgID | \n", "G | \n", "AB | \n", "R | \n", "H | \n", "2B | \n", "... | \n", "RBI | \n", "SB | \n", "CS | \n", "BB | \n", "SO | \n", "IBB | \n", "HBP | \n", "SH | \n", "SF | \n", "GIDP | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "abercda01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
1 | \n", "addybo01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "118 | \n", "30 | \n", "32 | \n", "6 | \n", "... | \n", "13.0 | \n", "8.0 | \n", "1.0 | \n", "4 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
2 | \n", "allisar01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "29 | \n", "137 | \n", "28 | \n", "40 | \n", "4 | \n", "... | \n", "19.0 | \n", "3.0 | \n", "1.0 | \n", "2 | \n", "5.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
3 | \n", "allisdo01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "27 | \n", "133 | \n", "28 | \n", "44 | \n", "10 | \n", "... | \n", "27.0 | \n", "1.0 | \n", "1.0 | \n", "0 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
4 | \n", "ansonca01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "120 | \n", "29 | \n", "39 | \n", "11 | \n", "... | \n", "16.0 | \n", "6.0 | \n", "2.0 | \n", "2 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
5 | \n", "armstbo01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "12 | \n", "49 | \n", "9 | \n", "11 | \n", "2 | \n", "... | \n", "5.0 | \n", "0.0 | \n", "1.0 | \n", "0 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
6 | \n", "barkeal01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
7 | \n", "barnero01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "31 | \n", "157 | \n", "66 | \n", "63 | \n", "10 | \n", "... | \n", "34.0 | \n", "11.0 | \n", "6.0 | \n", "13 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
8 | \n", "barrebi01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "1 | \n", "5 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
9 | \n", "barrofr01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "18 | \n", "86 | \n", "13 | \n", "13 | \n", "2 | \n", "... | \n", "11.0 | \n", "1.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
10 | \n", "bassjo01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "22 | \n", "89 | \n", "18 | \n", "27 | \n", "1 | \n", "... | \n", "18.0 | \n", "0.0 | \n", "1.0 | \n", "3 | \n", "4.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
11 | \n", "battijo01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "1 | \n", "3 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
12 | \n", "bealsto01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "10 | \n", "36 | \n", "6 | \n", "7 | \n", "0 | \n", "... | \n", "1.0 | \n", "2.0 | \n", "0.0 | \n", "2 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
13 | \n", "beaveed01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "3 | \n", "15 | \n", "7 | \n", "6 | \n", "0 | \n", "... | \n", "5.0 | \n", "2.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
14 | \n", "bechtge01 | \n", "1871 | \n", "1 | \n", "PH1 | \n", "NaN | \n", "20 | \n", "94 | \n", "24 | \n", "33 | \n", "9 | \n", "... | \n", "21.0 | \n", "4.0 | \n", "0.0 | \n", "2 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
15 | \n", "bellast01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "29 | \n", "128 | \n", "26 | \n", "32 | \n", "3 | \n", "... | \n", "23.0 | \n", "4.0 | \n", "4.0 | \n", "9 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
16 | \n", "berkena01 | \n", "1871 | \n", "1 | \n", "PH1 | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "3.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
17 | \n", "berryto01 | \n", "1871 | \n", "1 | \n", "PH1 | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
18 | \n", "berthha01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "17 | \n", "73 | \n", "17 | \n", "17 | \n", "1 | \n", "... | \n", "8.0 | \n", "3.0 | \n", "1.0 | \n", "4 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
19 | \n", "biermch01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "1 | \n", "2 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
20 | \n", "birdge01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "106 | \n", "19 | \n", "28 | \n", "2 | \n", "... | \n", "13.0 | \n", "1.0 | \n", "0.0 | \n", "3 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
21 | \n", "birdsda01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "29 | \n", "152 | \n", "51 | \n", "46 | \n", "3 | \n", "... | \n", "24.0 | \n", "6.0 | \n", "0.0 | \n", "4 | \n", "4.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
22 | \n", "brainas01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "30 | \n", "134 | \n", "24 | \n", "30 | \n", "4 | \n", "... | \n", "21.0 | \n", "4.0 | \n", "0.0 | \n", "7 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
23 | \n", "brannmi01 | \n", "1871 | \n", "1 | \n", "CH1 | \n", "NaN | \n", "3 | \n", "14 | \n", "2 | \n", "1 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
24 | \n", "burrohe01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "12 | \n", "63 | \n", "11 | \n", "15 | \n", "2 | \n", "... | \n", "14.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
25 | \n", "careyto01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "19 | \n", "87 | \n", "16 | \n", "20 | \n", "2 | \n", "... | \n", "10.0 | \n", "5.0 | \n", "0.0 | \n", "2 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
26 | \n", "carleji01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "29 | \n", "127 | \n", "31 | \n", "32 | \n", "8 | \n", "... | \n", "18.0 | \n", "2.0 | \n", "1.0 | \n", "8 | \n", "3.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
27 | \n", "conefr01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "19 | \n", "77 | \n", "17 | \n", "20 | \n", "3 | \n", "... | \n", "16.0 | \n", "12.0 | \n", "1.0 | \n", "8 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
28 | \n", "connone01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "7 | \n", "33 | \n", "6 | \n", "7 | \n", "0 | \n", "... | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
29 | \n", "cravebi01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "27 | \n", "118 | \n", "26 | \n", "38 | \n", "8 | \n", "... | \n", "26.0 | \n", "6.0 | \n", "3.0 | \n", "3 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
102786 | \n", "wittgni01 | \n", "2016 | \n", "1 | \n", "MIA | \n", "NL | \n", "48 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102787 | \n", "wolteto01 | \n", "2016 | \n", "1 | \n", "COL | \n", "NL | \n", "71 | \n", "205 | \n", "27 | \n", "53 | \n", "15 | \n", "... | \n", "30.0 | \n", "4.0 | \n", "1.0 | \n", "21 | \n", "53.0 | \n", "2.0 | \n", "0.0 | \n", "4.0 | \n", "0.0 | \n", "1.0 | \n", "
102788 | \n", "wongko01 | \n", "2016 | \n", "1 | \n", "SLN | \n", "NL | \n", "121 | \n", "313 | \n", "39 | \n", "75 | \n", "7 | \n", "... | \n", "23.0 | \n", "7.0 | \n", "0.0 | \n", "34 | \n", "52.0 | \n", "2.0 | \n", "9.0 | \n", "0.0 | \n", "5.0 | \n", "3.0 | \n", "
102789 | \n", "woodal02 | \n", "2016 | \n", "1 | \n", "LAN | \n", "NL | \n", "15 | \n", "16 | \n", "2 | \n", "4 | \n", "0 | \n", "... | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "9.0 | \n", "0.0 | \n", "0.0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "
102790 | \n", "woodbl01 | \n", "2016 | \n", "1 | \n", "CIN | \n", "NL | \n", "70 | \n", "2 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102791 | \n", "woodtr01 | \n", "2016 | \n", "1 | \n", "CHN | \n", "NL | \n", "81 | \n", "11 | \n", "0 | \n", "2 | \n", "0 | \n", "... | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "5.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102792 | \n", "worleva01 | \n", "2016 | \n", "1 | \n", "BAL | \n", "AL | \n", "35 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102793 | \n", "worthda01 | \n", "2016 | \n", "1 | \n", "HOU | \n", "AL | \n", "16 | \n", "39 | \n", "4 | \n", "7 | \n", "2 | \n", "... | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "6.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "1.0 | \n", "
102794 | \n", "wrighda03 | \n", "2016 | \n", "1 | \n", "NYN | \n", "NL | \n", "37 | \n", "137 | \n", "18 | \n", "31 | \n", "8 | \n", "... | \n", "14.0 | \n", "3.0 | \n", "2.0 | \n", "26 | \n", "55.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102795 | \n", "wrighda04 | \n", "2016 | \n", "1 | \n", "CIN | \n", "NL | \n", "4 | \n", "5 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "
102796 | \n", "wrighda04 | \n", "2016 | \n", "2 | \n", "LAA | \n", "AL | \n", "5 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102797 | \n", "wrighmi01 | \n", "2016 | \n", "1 | \n", "BAL | \n", "AL | \n", "18 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102798 | \n", "wrighst01 | \n", "2016 | \n", "1 | \n", "BOS | \n", "AL | \n", "25 | \n", "4 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "3.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102799 | \n", "yateski01 | \n", "2016 | \n", "1 | \n", "NYA | \n", "AL | \n", "41 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102800 | \n", "yelicch01 | \n", "2016 | \n", "1 | \n", "MIA | \n", "NL | \n", "155 | \n", "578 | \n", "78 | \n", "172 | \n", "38 | \n", "... | \n", "98.0 | \n", "9.0 | \n", "4.0 | \n", "72 | \n", "138.0 | \n", "4.0 | \n", "4.0 | \n", "0.0 | \n", "5.0 | \n", "20.0 | \n", "
102801 | \n", "ynoaga01 | \n", "2016 | \n", "1 | \n", "NYN | \n", "NL | \n", "10 | \n", "3 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102802 | \n", "ynoami01 | \n", "2016 | \n", "1 | \n", "CHA | \n", "AL | \n", "23 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102803 | \n", "ynoara01 | \n", "2016 | \n", "1 | \n", "COL | \n", "NL | \n", "3 | \n", "5 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102804 | \n", "youngch03 | \n", "2016 | \n", "1 | \n", "KCA | \n", "AL | \n", "34 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102805 | \n", "youngch04 | \n", "2016 | \n", "1 | \n", "BOS | \n", "AL | \n", "76 | \n", "203 | \n", "29 | \n", "56 | \n", "18 | \n", "... | \n", "24.0 | \n", "4.0 | \n", "2.0 | \n", "21 | \n", "50.0 | \n", "0.0 | \n", "3.0 | \n", "0.0 | \n", "0.0 | \n", "4.0 | \n", "
102806 | \n", "younger03 | \n", "2016 | \n", "1 | \n", "NYA | \n", "AL | \n", "6 | \n", "1 | \n", "2 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "1.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102807 | \n", "youngma03 | \n", "2016 | \n", "1 | \n", "ATL | \n", "NL | \n", "8 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102808 | \n", "zastrro01 | \n", "2016 | \n", "1 | \n", "CHN | \n", "NL | \n", "8 | \n", "3 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102809 | \n", "zieglbr01 | \n", "2016 | \n", "1 | \n", "ARI | \n", "NL | \n", "36 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102810 | \n", "zieglbr01 | \n", "2016 | \n", "2 | \n", "BOS | \n", "AL | \n", "33 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102811 | \n", "zimmejo02 | \n", "2016 | \n", "1 | \n", "DET | \n", "AL | \n", "19 | \n", "4 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "
102812 | \n", "zimmery01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "115 | \n", "427 | \n", "60 | \n", "93 | \n", "18 | \n", "... | \n", "46.0 | \n", "4.0 | \n", "1.0 | \n", "29 | \n", "104.0 | \n", "1.0 | \n", "5.0 | \n", "0.0 | \n", "6.0 | \n", "12.0 | \n", "
102813 | \n", "zobribe01 | \n", "2016 | \n", "1 | \n", "CHN | \n", "NL | \n", "147 | \n", "523 | \n", "94 | \n", "142 | \n", "31 | \n", "... | \n", "76.0 | \n", "6.0 | \n", "4.0 | \n", "96 | \n", "82.0 | \n", "6.0 | \n", "4.0 | \n", "4.0 | \n", "4.0 | \n", "17.0 | \n", "
102814 | \n", "zuninmi01 | \n", "2016 | \n", "1 | \n", "SEA | \n", "AL | \n", "55 | \n", "164 | \n", "16 | \n", "34 | \n", "7 | \n", "... | \n", "31.0 | \n", "0.0 | \n", "0.0 | \n", "21 | \n", "65.0 | \n", "0.0 | \n", "6.0 | \n", "0.0 | \n", "1.0 | \n", "0.0 | \n", "
102815 | \n", "zychto01 | \n", "2016 | \n", "1 | \n", "SEA | \n", "AL | \n", "12 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "
102816 rows × 22 columns
\n", "\n", " | playerID | \n", "yearID | \n", "stint | \n", "teamID | \n", "lgID | \n", "G | \n", "AB | \n", "R | \n", "H | \n", "2B | \n", "... | \n", "RBI | \n", "SB | \n", "CS | \n", "BB | \n", "SO | \n", "IBB | \n", "HBP | \n", "SH | \n", "SF | \n", "GIDP | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "abercda01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
1 | \n", "addybo01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "118 | \n", "30 | \n", "32 | \n", "6 | \n", "... | \n", "13.0 | \n", "8.0 | \n", "1.0 | \n", "4 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
2 | \n", "allisar01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "29 | \n", "137 | \n", "28 | \n", "40 | \n", "4 | \n", "... | \n", "19.0 | \n", "3.0 | \n", "1.0 | \n", "2 | \n", "5.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
3 | \n", "allisdo01 | \n", "1871 | \n", "1 | \n", "WS3 | \n", "NaN | \n", "27 | \n", "133 | \n", "28 | \n", "44 | \n", "10 | \n", "... | \n", "27.0 | \n", "1.0 | \n", "1.0 | \n", "0 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
4 | \n", "ansonca01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "120 | \n", "29 | \n", "39 | \n", "11 | \n", "... | \n", "16.0 | \n", "6.0 | \n", "2.0 | \n", "2 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
5 | \n", "armstbo01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "12 | \n", "49 | \n", "9 | \n", "11 | \n", "2 | \n", "... | \n", "5.0 | \n", "0.0 | \n", "1.0 | \n", "0 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
6 | \n", "barkeal01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "1 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
7 | \n", "barnero01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "31 | \n", "157 | \n", "66 | \n", "63 | \n", "10 | \n", "... | \n", "34.0 | \n", "11.0 | \n", "6.0 | \n", "13 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
8 | \n", "barrebi01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "1 | \n", "5 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "1.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
9 | \n", "barrofr01 | \n", "1871 | \n", "1 | \n", "BS1 | \n", "NaN | \n", "18 | \n", "86 | \n", "13 | \n", "13 | \n", "2 | \n", "... | \n", "11.0 | \n", "1.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
10 rows × 22 columns
\n", "\n", " | playerID | \n", "yearID | \n", "stint | \n", "teamID | \n", "lgID | \n", "G | \n", "AB | \n", "R | \n", "H | \n", "2B | \n", "... | \n", "RBI | \n", "SB | \n", "CS | \n", "BB | \n", "SO | \n", "IBB | \n", "HBP | \n", "SH | \n", "SF | \n", "GIDP | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "abercda01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "1 | \n", "4 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
5 | \n", "armstbo01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "12 | \n", "49 | \n", "9 | \n", "11 | \n", "2 | \n", "... | \n", "5.0 | \n", "0.0 | \n", "1.0 | \n", "0 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
10 | \n", "bassjo01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "22 | \n", "89 | \n", "18 | \n", "27 | \n", "1 | \n", "... | \n", "18.0 | \n", "0.0 | \n", "1.0 | \n", "3 | \n", "4.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
15 | \n", "bellast01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "29 | \n", "128 | \n", "26 | \n", "32 | \n", "3 | \n", "... | \n", "23.0 | \n", "4.0 | \n", "4.0 | \n", "9 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
20 | \n", "birdge01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "25 | \n", "106 | \n", "19 | \n", "28 | \n", "2 | \n", "... | \n", "13.0 | \n", "1.0 | \n", "0.0 | \n", "3 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
25 | \n", "careyto01 | \n", "1871 | \n", "1 | \n", "FW1 | \n", "NaN | \n", "19 | \n", "87 | \n", "16 | \n", "20 | \n", "2 | \n", "... | \n", "10.0 | \n", "5.0 | \n", "0.0 | \n", "2 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
30 | \n", "cuthbne01 | \n", "1871 | \n", "1 | \n", "PH1 | \n", "NaN | \n", "28 | \n", "150 | \n", "47 | \n", "37 | \n", "7 | \n", "... | \n", "30.0 | \n", "16.0 | \n", "2.0 | \n", "10 | \n", "2.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
35 | \n", "ewellge01 | \n", "1871 | \n", "1 | \n", "CL1 | \n", "NaN | \n", "1 | \n", "3 | \n", "0 | \n", "0 | \n", "0 | \n", "... | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "0 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
40 | \n", "flowedi01 | \n", "1871 | \n", "1 | \n", "TRO | \n", "NaN | \n", "21 | \n", "105 | \n", "39 | \n", "33 | \n", "5 | \n", "... | \n", "18.0 | \n", "8.0 | \n", "2.0 | \n", "4 | \n", "0.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
45 | \n", "fulmech01 | \n", "1871 | \n", "1 | \n", "RC1 | \n", "NaN | \n", "16 | \n", "63 | \n", "11 | \n", "17 | \n", "1 | \n", "... | \n", "3.0 | \n", "0.0 | \n", "0.0 | \n", "5 | \n", "1.0 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
10 rows × 22 columns
\n", "\n", " | playerID | \n", "yearID | \n", "stint | \n", "teamID | \n", "lgID | \n", "G | \n", "AB | \n", "R | \n", "H | \n", "2B | \n", "... | \n", "RBI | \n", "SB | \n", "CS | \n", "BB | \n", "SO | \n", "IBB | \n", "HBP | \n", "SH | \n", "SF | \n", "GIDP | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
100193 | \n", "desmoia01 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "156 | \n", "583 | \n", "69 | \n", "136 | \n", "27 | \n", "... | \n", "62.0 | \n", "13.0 | \n", "5.0 | \n", "45 | \n", "187.0 | \n", "0.0 | \n", "3.0 | \n", "6.0 | \n", "4.0 | \n", "9.0 | \n", "
100250 | \n", "escobyu01 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "139 | \n", "535 | \n", "75 | \n", "168 | \n", "25 | \n", "... | \n", "56.0 | \n", "2.0 | \n", "2.0 | \n", "45 | \n", "70.0 | \n", "0.0 | \n", "8.0 | \n", "1.0 | \n", "2.0 | \n", "24.0 | \n", "
100251 | \n", "espinda01 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "118 | \n", "367 | \n", "59 | \n", "88 | \n", "21 | \n", "... | \n", "37.0 | \n", "5.0 | \n", "2.0 | \n", "33 | \n", "106.0 | \n", "5.0 | \n", "6.0 | \n", "3.0 | \n", "3.0 | \n", "6.0 | \n", "
100422 | \n", "harpebr03 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "153 | \n", "521 | \n", "118 | \n", "172 | \n", "38 | \n", "... | \n", "99.0 | \n", "6.0 | \n", "4.0 | \n", "124 | \n", "131.0 | \n", "15.0 | \n", "5.0 | \n", "0.0 | \n", "4.0 | \n", "15.0 | \n", "
100950 | \n", "ramoswi01 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "128 | \n", "475 | \n", "41 | \n", "109 | \n", "16 | \n", "... | \n", "68.0 | \n", "0.0 | \n", "0.0 | \n", "21 | \n", "101.0 | \n", "2.0 | \n", "0.0 | \n", "0.0 | \n", "8.0 | \n", "16.0 | \n", "
100993 | \n", "robincl01 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "126 | \n", "309 | \n", "44 | \n", "84 | \n", "15 | \n", "... | \n", "34.0 | \n", "0.0 | \n", "0.0 | \n", "37 | \n", "52.0 | \n", "4.0 | \n", "5.0 | \n", "0.0 | \n", "1.0 | \n", "6.0 | \n", "
101176 | \n", "taylomi02 | \n", "2015 | \n", "1 | \n", "WAS | \n", "NL | \n", "138 | \n", "472 | \n", "49 | \n", "108 | \n", "15 | \n", "... | \n", "63.0 | \n", "16.0 | \n", "3.0 | \n", "35 | \n", "158.0 | \n", "9.0 | \n", "1.0 | \n", "1.0 | \n", "2.0 | \n", "5.0 | \n", "
101725 | \n", "espinda01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "157 | \n", "516 | \n", "66 | \n", "108 | \n", "15 | \n", "... | \n", "72.0 | \n", "9.0 | \n", "2.0 | \n", "54 | \n", "174.0 | \n", "12.0 | \n", "20.0 | \n", "7.0 | \n", "4.0 | \n", "4.0 | \n", "
101895 | \n", "harpebr03 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "147 | \n", "506 | \n", "84 | \n", "123 | \n", "24 | \n", "... | \n", "86.0 | \n", "21.0 | \n", "10.0 | \n", "108 | \n", "117.0 | \n", "20.0 | \n", "3.0 | \n", "0.0 | \n", "10.0 | \n", "11.0 | \n", "
102245 | \n", "murphda08 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "142 | \n", "531 | \n", "88 | \n", "184 | \n", "47 | \n", "... | \n", "104.0 | \n", "5.0 | \n", "3.0 | \n", "35 | \n", "57.0 | \n", "10.0 | \n", "8.0 | \n", "0.0 | \n", "8.0 | \n", "4.0 | \n", "
102429 | \n", "ramoswi01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "131 | \n", "482 | \n", "58 | \n", "148 | \n", "25 | \n", "... | \n", "80.0 | \n", "0.0 | \n", "0.0 | \n", "35 | \n", "79.0 | \n", "2.0 | \n", "2.0 | \n", "0.0 | \n", "4.0 | \n", "17.0 | \n", "
102449 | \n", "rendoan01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "156 | \n", "567 | \n", "91 | \n", "153 | \n", "38 | \n", "... | \n", "85.0 | \n", "12.0 | \n", "6.0 | \n", "65 | \n", "117.0 | \n", "2.0 | \n", "7.0 | \n", "0.0 | \n", "8.0 | \n", "5.0 | \n", "
102451 | \n", "reverbe01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "103 | \n", "350 | \n", "44 | \n", "76 | \n", "9 | \n", "... | \n", "24.0 | \n", "14.0 | \n", "5.0 | \n", "18 | \n", "34.0 | \n", "0.0 | \n", "3.0 | \n", "2.0 | \n", "2.0 | \n", "12.0 | \n", "
102472 | \n", "robincl01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "104 | \n", "196 | \n", "16 | \n", "46 | \n", "4 | \n", "... | \n", "26.0 | \n", "0.0 | \n", "0.0 | \n", "20 | \n", "38.0 | \n", "0.0 | \n", "2.0 | \n", "1.0 | \n", "5.0 | \n", "4.0 | \n", "
102763 | \n", "werthja01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "143 | \n", "525 | \n", "84 | \n", "128 | \n", "28 | \n", "... | \n", "69.0 | \n", "5.0 | \n", "1.0 | \n", "71 | \n", "139.0 | \n", "0.0 | \n", "4.0 | \n", "0.0 | \n", "6.0 | \n", "17.0 | \n", "
102812 | \n", "zimmery01 | \n", "2016 | \n", "1 | \n", "WAS | \n", "NL | \n", "115 | \n", "427 | \n", "60 | \n", "93 | \n", "18 | \n", "... | \n", "46.0 | \n", "4.0 | \n", "1.0 | \n", "29 | \n", "104.0 | \n", "1.0 | \n", "5.0 | \n", "0.0 | \n", "6.0 | \n", "12.0 | \n", "
16 rows × 22 columns
\n", "\n", " | Table 1: Yearly Change in Scheduled Passenger Airline Full-time Equivalent Employees* by Airline Group | \n", "Unnamed: 1 | \n", "Unnamed: 2 | \n", "Unnamed: 3 | \n", "Unnamed: 4 | \n", "Unnamed: 5 | \n", "
---|---|---|---|---|---|---|
0 | \n", "Most recent 13 months - percent change from sa... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
1 | \n", "NaN | \n", "Network Airlines | \n", "Low-Cost Airlines | \n", "Regional Airlines | \n", "Other Airlines | \n", "All Passenger Airlines ** | \n", "
2 | \n", "May 2015 - May 2016 | \n", "2.3 | \n", "10.7 | \n", "0.2 | \n", "9.3 | \n", "3.7 | \n", "
3 | \n", "Jun 2015 - Jun 2016 | \n", "2.3 | \n", "11 | \n", "0.9 | \n", "10.6 | \n", "3.9 | \n", "
4 | \n", "Jul 2015 - Jul 2016 | \n", "2.4 | \n", "11.3 | \n", "3.3 | \n", "11.2 | \n", "4.3 | \n", "
5 | \n", "Aug 2015 - Aug 2016 | \n", "2.5 | \n", "11 | \n", "3.3 | \n", "11.9 | \n", "4.3 | \n", "
6 | \n", "Sep 2015 - Sep 2016 | \n", "2.6 | \n", "10.6 | \n", "2.9 | \n", "13 | \n", "4.3 | \n", "
7 | \n", "Oct 2015 - Oct 2016 | \n", "2.7 | \n", "10.3 | \n", "0.3 | \n", "12.7 | \n", "4 | \n", "
8 | \n", "Nov 2015 - Nov 2016 | \n", "2.3 | \n", "9.8 | \n", "0.2 | \n", "13.5 | \n", "3.7 | \n", "
9 | \n", "Dec 2015 - Dec 2016 | \n", "2.4 | \n", "9.5 | \n", "0.2 | \n", "13.7 | \n", "3.7 | \n", "
10 | \n", "Jan 2016 - Jan 2017 | \n", "2.3 | \n", "9.7 | \n", "1.9 | \n", "12.7 | \n", "3.9 | \n", "
11 | \n", "Feb 2016 - Feb 2017 | \n", "2.4 | \n", "9.4 | \n", "2.4 | \n", "11.8 | \n", "3.9 | \n", "
12 | \n", "Mar 2016 - Mar 2017 | \n", "2.7 | \n", "9.1 | \n", "2 | \n", "11.7 | \n", "4 | \n", "
13 | \n", "Apr 2016 - Apr 2017 | \n", "2.6 | \n", "8.5 | \n", "2.1 | \n", "10.7 | \n", "3.9 | \n", "
14 | \n", "May 2016 - May 2017 | \n", "2.4 | \n", "8.3 | \n", "2.5 | \n", "4.2 | \n", "3.6 | \n", "
15 | \n", "Source: Bureau of Transportation Statistics | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
16 | \n", "* Full-time Equivalent Employee (FTE) calculat... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
17 | \n", "** Includes network, low-cost, regional and ot... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
18 | \n", "Note: Percent changes based on numbers prior t... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
19 | \n", "Note: See Table 2 for all passenger airlines, ... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
\n", " | Network Airlines | \n", "Low-Cost Airlines | \n", "Regional Airlines | \n", "Other Airlines | \n", "All Passenger Airlines ** | \n", "
---|---|---|---|---|---|
May 2015 - May 2016 | \n", "2.3 | \n", "10.7 | \n", "0.2 | \n", "9.3 | \n", "3.7 | \n", "
Jun 2015 - Jun 2016 | \n", "2.3 | \n", "11 | \n", "0.9 | \n", "10.6 | \n", "3.9 | \n", "
Jul 2015 - Jul 2016 | \n", "2.4 | \n", "11.3 | \n", "3.3 | \n", "11.2 | \n", "4.3 | \n", "
Aug 2015 - Aug 2016 | \n", "2.5 | \n", "11 | \n", "3.3 | \n", "11.9 | \n", "4.3 | \n", "
Sep 2015 - Sep 2016 | \n", "2.6 | \n", "10.6 | \n", "2.9 | \n", "13 | \n", "4.3 | \n", "
Oct 2015 - Oct 2016 | \n", "2.7 | \n", "10.3 | \n", "0.3 | \n", "12.7 | \n", "4 | \n", "
Nov 2015 - Nov 2016 | \n", "2.3 | \n", "9.8 | \n", "0.2 | \n", "13.5 | \n", "3.7 | \n", "
Dec 2015 - Dec 2016 | \n", "2.4 | \n", "9.5 | \n", "0.2 | \n", "13.7 | \n", "3.7 | \n", "
Jan 2016 - Jan 2017 | \n", "2.3 | \n", "9.7 | \n", "1.9 | \n", "12.7 | \n", "3.9 | \n", "
Feb 2016 - Feb 2017 | \n", "2.4 | \n", "9.4 | \n", "2.4 | \n", "11.8 | \n", "3.9 | \n", "
Mar 2016 - Mar 2017 | \n", "2.7 | \n", "9.1 | \n", "2 | \n", "11.7 | \n", "4 | \n", "
Apr 2016 - Apr 2017 | \n", "2.6 | \n", "8.5 | \n", "2.1 | \n", "10.7 | \n", "3.9 | \n", "
May 2016 - May 2017 | \n", "2.4 | \n", "8.3 | \n", "2.5 | \n", "4.2 | \n", "3.6 | \n", "
\n", " | author | \n", "text | \n", "
---|---|---|
0 | \n", "Martin Golding | \n", "Always code as if the guy who ends up maintain... | \n", "
1 | \n", "Unknown | \n", "All computers wait at the same speed. | \n", "
2 | \n", "Unknown | \n", "A misplaced decimal point will always end up w... | \n", "
3 | \n", "Unknown | \n", "A good programmer looks both ways before cross... | \n", "
4 | \n", "Unknown | \n", "A computer program does what you tell it to do... | \n", "
5 | \n", "Unknown | \n", "\"Intel Inside\" is a Government Warning require... | \n", "
6 | \n", "Arthur Godfrey | \n", "Common sense gets a lot of credit that belongs... | \n", "
7 | \n", "Unknown | \n", "Chuck Norris doesn’t go hunting. Chuck Norris ... | \n", "
8 | \n", "Unknown | \n", "Chuck Norris counted to infinity... twice. | \n", "
9 | \n", "Unknown | \n", "C is quirky, flawed, and an enormous success. | \n", "
10 | \n", "Unknown | \n", "Beta is Latin for still doesn’t work. | \n", "
11 | \n", "Unknown | \n", "ASCII stupid question, get a stupid ANSI! | \n", "
12 | \n", "Unknown | \n", "Artificial Intelligence usually beats natural ... | \n", "
13 | \n", "Ted Nelson | \n", "Any fool can use a computer. Many do. | \n", "
14 | \n", "Unknown | \n", "Hey! It compiles! Ship it! | \n", "
15 | \n", "Martin Luther King Junior | \n", "Hate cannot drive out hate; only love can do t... | \n", "
16 | \n", "Unknown | \n", "Guns don’t kill people. Chuck Norris kills peo... | \n", "
17 | \n", "Unknown | \n", "God is real, unless declared integer. | \n", "
18 | \n", "John Johnson | \n", "First, solve the problem. Then, write the code. | \n", "
19 | \n", "Oscar Wilde | \n", "Experience is the name everyone gives to their... | \n", "
20 | \n", "Miguel de Icaza | \n", "Every piece of software written today is likel... | \n", "
21 | \n", "Unknown | \n", "Computers make very fast, very accurate mistakes. | \n", "
22 | \n", "Unknown | \n", "Computers do not solve problems, they execute ... | \n", "
23 | \n", "Unknown | \n", "I have NOT lost my mind—I have it backed up on... | \n", "
24 | \n", "Unknown | \n", "If brute force doesn’t solve your problems, th... | \n", "
25 | \n", "Unknown | \n", "It works on my machine. | \n", "
26 | \n", "Unknown | \n", "Java is, in many ways, C++??. | \n", "
27 | \n", "Unknown | \n", "Keyboard not found...Press any key to continue. | \n", "
28 | \n", "Unknown | \n", "Life would be so much easier if we only had th... | \n", "
29 | \n", "Unknown | \n", "Mac users swear by their Mac, PC users swear a... | \n", "
... | \n", "... | \n", "... | \n", "
159 | \n", "Paul Graham | \n", "OO programming offers a sustainable way to wri... | \n", "
160 | \n", "Nikita Popov | \n", "Ruby is rubbish! PHP is phpantastic! | \n", "
161 | \n", "Douglas Adams | \n", "So long and thanks for all the fish! | \n", "
162 | \n", "Cicero | \n", "If I had more time, I would have written a sho... | \n", "
163 | \n", "Jeff Atwood | \n", "The best reaction to \"this is confusing, where... | \n", "
164 | \n", "Jeff Atwood | \n", "The older I get, the more I believe that the o... | \n", "
165 | \n", "Douglas Crockford | \n", "\"That hardly ever happens\" is another way of s... | \n", "
166 | \n", "Anna Debenham | \n", "Hello, PHP, my old friend. | \n", "
167 | \n", "Melvin Conway | \n", "Organizations which design systems are constra... | \n", "
168 | \n", "Melvin Conway | \n", "In design, complexity is toxic. | \n", "
169 | \n", "Jeffrey Zeldman | \n", "Good is the enemy of great, but great is the e... | \n", "
170 | \n", "Rick Lemons | \n", "Don't make the user provide information that t... | \n", "
171 | \n", "Donald E. Knuth | \n", "You're bound to be unhappy if you optimize eve... | \n", "
172 | \n", "Anna Nachesa | \n", "If the programmers like each other, they play ... | \n", "
173 | \n", "Edsger W. Dijkstra | \n", "Simplicity is prerequisite for reliability. | \n", "
174 | \n", "Jordi Boggiano | \n", "Focus on WHY instead of WHAT in your code will... | \n", "
175 | \n", "Andrei Herasimchuk | \n", "The best engineers I know are artists at heart... | \n", "
176 | \n", "Barry Boehm | \n", "Poor management can increase software costs mo... | \n", "
177 | \n", "Daniel Bryant | \n", "If you can't deploy your services independentl... | \n", "
178 | \n", "Daniel Bryant | \n", "If you can't deploy your services independentl... | \n", "
179 | \n", "Jeff Atwood | \n", "No one hates software more than software devel... | \n", "
180 | \n", "Robert C. Martin | \n", "The proper use of comments is to compensate fo... | \n", "
181 | \n", "Cory House | \n", "Code is like humor. When you have to explain i... | \n", "
182 | \n", "Steve Maguire | \n", "Fix the cause, not the symptom. | \n", "
183 | \n", "David Heinemeier Hansson | \n", "Programmers are constantly making things more ... | \n", "
184 | \n", "Linus Torvalds | \n", "People will realize that software is not a pro... | \n", "
185 | \n", "Ron Fein | \n", "Design is choosing how you will fail. | \n", "
186 | \n", "Steve Jobs | \n", "Focus is saying no to 1000 good ideas. | \n", "
187 | \n", "Ron Jeffries | \n", "Code never lies, comments sometimes do. | \n", "
188 | \n", "Unknown | \n", "Be careful with each other, so you can be dang... | \n", "
189 rows × 2 columns
\n", "\n", " | text | \n", "
---|---|
author | \n", "\n", " |
Martin Golding | \n", "Always code as if the guy who ends up maintain... | \n", "
Unknown | \n", "All computers wait at the same speed. | \n", "
Unknown | \n", "A misplaced decimal point will always end up w... | \n", "
Unknown | \n", "A good programmer looks both ways before cross... | \n", "
Unknown | \n", "A computer program does what you tell it to do... | \n", "
Unknown | \n", "\"Intel Inside\" is a Government Warning require... | \n", "
Arthur Godfrey | \n", "Common sense gets a lot of credit that belongs... | \n", "
Unknown | \n", "Chuck Norris doesn’t go hunting. Chuck Norris ... | \n", "
Unknown | \n", "Chuck Norris counted to infinity... twice. | \n", "
Unknown | \n", "C is quirky, flawed, and an enormous success. | \n", "
Unknown | \n", "Beta is Latin for still doesn’t work. | \n", "
Unknown | \n", "ASCII stupid question, get a stupid ANSI! | \n", "
Unknown | \n", "Artificial Intelligence usually beats natural ... | \n", "
Ted Nelson | \n", "Any fool can use a computer. Many do. | \n", "
Unknown | \n", "Hey! It compiles! Ship it! | \n", "
Martin Luther King Junior | \n", "Hate cannot drive out hate; only love can do t... | \n", "
Unknown | \n", "Guns don’t kill people. Chuck Norris kills peo... | \n", "
Unknown | \n", "God is real, unless declared integer. | \n", "
John Johnson | \n", "First, solve the problem. Then, write the code. | \n", "
Oscar Wilde | \n", "Experience is the name everyone gives to their... | \n", "
Miguel de Icaza | \n", "Every piece of software written today is likel... | \n", "
Unknown | \n", "Computers make very fast, very accurate mistakes. | \n", "
Unknown | \n", "Computers do not solve problems, they execute ... | \n", "
Unknown | \n", "I have NOT lost my mind—I have it backed up on... | \n", "
Unknown | \n", "If brute force doesn’t solve your problems, th... | \n", "
Unknown | \n", "It works on my machine. | \n", "
Unknown | \n", "Java is, in many ways, C++??. | \n", "
Unknown | \n", "Keyboard not found...Press any key to continue. | \n", "
Unknown | \n", "Life would be so much easier if we only had th... | \n", "
Unknown | \n", "Mac users swear by their Mac, PC users swear a... | \n", "
... | \n", "... | \n", "
Paul Graham | \n", "OO programming offers a sustainable way to wri... | \n", "
Nikita Popov | \n", "Ruby is rubbish! PHP is phpantastic! | \n", "
Douglas Adams | \n", "So long and thanks for all the fish! | \n", "
Cicero | \n", "If I had more time, I would have written a sho... | \n", "
Jeff Atwood | \n", "The best reaction to \"this is confusing, where... | \n", "
Jeff Atwood | \n", "The older I get, the more I believe that the o... | \n", "
Douglas Crockford | \n", "\"That hardly ever happens\" is another way of s... | \n", "
Anna Debenham | \n", "Hello, PHP, my old friend. | \n", "
Melvin Conway | \n", "Organizations which design systems are constra... | \n", "
Melvin Conway | \n", "In design, complexity is toxic. | \n", "
Jeffrey Zeldman | \n", "Good is the enemy of great, but great is the e... | \n", "
Rick Lemons | \n", "Don't make the user provide information that t... | \n", "
Donald E. Knuth | \n", "You're bound to be unhappy if you optimize eve... | \n", "
Anna Nachesa | \n", "If the programmers like each other, they play ... | \n", "
Edsger W. Dijkstra | \n", "Simplicity is prerequisite for reliability. | \n", "
Jordi Boggiano | \n", "Focus on WHY instead of WHAT in your code will... | \n", "
Andrei Herasimchuk | \n", "The best engineers I know are artists at heart... | \n", "
Barry Boehm | \n", "Poor management can increase software costs mo... | \n", "
Daniel Bryant | \n", "If you can't deploy your services independentl... | \n", "
Daniel Bryant | \n", "If you can't deploy your services independentl... | \n", "
Jeff Atwood | \n", "No one hates software more than software devel... | \n", "
Robert C. Martin | \n", "The proper use of comments is to compensate fo... | \n", "
Cory House | \n", "Code is like humor. When you have to explain i... | \n", "
Steve Maguire | \n", "Fix the cause, not the symptom. | \n", "
David Heinemeier Hansson | \n", "Programmers are constantly making things more ... | \n", "
Linus Torvalds | \n", "People will realize that software is not a pro... | \n", "
Ron Fein | \n", "Design is choosing how you will fail. | \n", "
Steve Jobs | \n", "Focus is saying no to 1000 good ideas. | \n", "
Ron Jeffries | \n", "Code never lies, comments sometimes do. | \n", "
Unknown | \n", "Be careful with each other, so you can be dang... | \n", "
189 rows × 1 columns
\n", "\n", " | text | \n", "
---|---|
author | \n", "\n", " |
Unknown | \n", "Java is, in many ways, C++??. | \n", "
\n", " | game_id | \n", "clue_id | \n", "value | \n", "category | \n", "clue | \n", "strike1 | \n", "strike2 | \n", "strike3 | \n", "answer | \n", "
---|---|---|---|---|---|---|---|---|---|
0 | \n", "280 | \n", "16720 | \n", "100 | \n", "HIGH ROLLERS | \n", "After an 1891 roulette run, Charles Wells was ... | \n", "What is Atlantic City? | \n", "What is Las Vegas? | \n", "What is Monaco? | \n", "Monte Carlo | \n", "
1 | \n", "429 | \n", "25403 | \n", "100 | \n", "OH, CRAPS! | \n", "The combo that totals one shy of \"boxcars\" | \n", "What is 11? | \n", "What is 10? | \n", "What is 9? | \n", "5 & 6 | \n", "
2 | \n", "866 | \n", "51549 | \n", "100 | \n", "ROCK & POP | \n", "It was the last decade in which Cher didn't ha... | \n", "What are the 1980s? | \n", "What are the 1970s? | \n", "What are the 1990s? | \n", "1950s | \n", "
3 | \n", "1018 | \n", "60582 | \n", "100 | \n", "LET'S HAVE A BALL | \n", "Sink it & you've scratched | \n", "Um... | \n", "What is the pinball? | \n", "What is the 8-ball? | \n", "the cue ball | \n", "
4 | \n", "1069 | \n", "63644 | \n", "100 | \n", "WHAT A YEAR! | \n", "Dewaele won the Tour de France, Coco Chanel wa... | \n", "What is 1933? | \n", "What is 1987? | \n", "What is 1927? | \n", "1929 | \n", "
5 | \n", "1473 | \n", "84364 | \n", "100 | \n", "EUROPEAN HISTORY | \n", "A former Socialist, he formed the anti-Communi... | \n", "Who was Lenin? | \n", "Who was Franco? | \n", "Who was Hitler? | \n", "Benito Mussolini | \n", "
6 | \n", "1635 | \n", "93864 | \n", "100 | \n", "CHRISTIANITY | \n", "According to tradition, Dismas & Gestas were t... | \n", "Who are the thieves? | \n", "What is Cavalry? | \n", "What is Mt. Olive? | \n", "Calvary | \n", "
7 | \n", "4166 | \n", "242419 | \n", "100 | \n", "NAME THE DECADE | \n", "Paul Revere & William Dawes warn colonists tha... | \n", "What is the 16th century? | \n", "What is the 18th century? | \n", "What is the 18th century? | \n", "the 1770s | \n", "
8 | \n", "112 | \n", "6679 | \n", "200 | \n", "ODD ALPHABETS | \n", "In alphabet radio code, \"B\" is Bravo and \"F\" s... | \n", "What's the Flamingo? | \n", "What's a Fandango? | \n", "What's the Flamenco? - you have it written the... | \n", "Foxtrot | \n", "
9 | \n", "354 | \n", "20984 | \n", "200 | \n", "SPORTS | \n", "A filly becomes a mare at this age | \n", "What is 3? | \n", "What is 1? | \n", "What is 2? | \n", "4 | \n", "
\n", " | occupation | \n", "freq | \n", "
---|---|---|
0 | \n", "attorney | \n", "380 | \n", "
1 | \n", "senior | \n", "228 | \n", "
2 | \n", "graduate student | \n", "212 | \n", "
3 | \n", "writer | \n", "176 | \n", "
4 | \n", "teacher | \n", "159 | \n", "
5 | \n", "junior | \n", "158 | \n", "
6 | \n", "law student | \n", "120 | \n", "
7 | \n", "lawyer | \n", "112 | \n", "
8 | \n", "homemaker | \n", "101 | \n", "
9 | \n", "actor | \n", "97 | \n", "
\n", " | occupation | \n", "freq | \n", "
---|---|---|
4205 | \n", "writer for an online magazine | \n", "1 | \n", "
4206 | \n", "writer's assistant | \n", "1 | \n", "
4207 | \n", "writer-producer | \n", "1 | \n", "
4208 | \n", "writing instructor | \n", "1 | \n", "
4209 | \n", "yoga instructor | \n", "1 | \n", "
4210 | \n", "yogurt franchise operator | \n", "1 | \n", "
4211 | \n", "youth ministry consultant | \n", "1 | \n", "
4212 | \n", "zoo docent | \n", "1 | \n", "
4213 | \n", "zoo educator | \n", "1 | \n", "
4214 | \n", "teacher | \n", "830 | \n", "
\n", " | occupation | \n", "freq | \n", "pct | \n", "
---|---|---|---|
4214 | \n", "teacher | \n", "830 | \n", "0.078905 | \n", "
0 | \n", "attorney | \n", "380 | \n", "0.036125 | \n", "
1 | \n", "senior | \n", "228 | \n", "0.021675 | \n", "
2 | \n", "graduate student | \n", "212 | \n", "0.020154 | \n", "
3 | \n", "writer | \n", "176 | \n", "0.016732 | \n", "
4 | \n", "junior | \n", "158 | \n", "0.015020 | \n", "
5 | \n", "law student | \n", "120 | \n", "0.011408 | \n", "
6 | \n", "lawyer | \n", "112 | \n", "0.010647 | \n", "
7 | \n", "homemaker | \n", "101 | \n", "0.009602 | \n", "
8 | \n", "actor | \n", "97 | \n", "0.009221 | \n", "