Skip to content

Instantly share code, notes, and snippets.

@thoo
Forked from kynan/pandas_validation_errors.ipynb
Created February 4, 2019 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoo/d0e58f7ccabe8475c80983f8c7cc1656 to your computer and use it in GitHub Desktop.
Save thoo/d0e58f7ccabe8475c80983f8c7cc1656 to your computer and use it in GitHub Desktop.
Pandas documentation validation errors
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"\n",
"%matplotlib inline"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The concept from Marc Garcia (@datapythonista) is to eliminate a specific validation error from the current code entirely, so this can be added to the CI and we can overcome future issues of the same type"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"An overview of the errors can be found in the `validate_docstring.py` scripts in the scripts folder:"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[GL01] Docstring text (summary) should start in the line immediately after the opening quotes (not in the same line, or leaving a blank line in between)\r\n",
"[GL02] Closing quotes should be placed in the line after the last text in the docstring (do not close the quotes in the same line as the text, or leave a blank line between the last text and the quotes)\r\n",
"[GL03] Double line break found; please use only one blank line to separate sections or paragraphs, and do not leave blank lines at the end of docstrings\r\n",
"[GL04] Private classes ({mentioned_private_classes}) should not be mentioned in public docstrings\r\n",
"[GL05] Tabs found at the start of line \"{line_with_tabs}\", please use whitespace only\r\n",
"[GL06] Found unknown section \"{section}\". Allowed sections are: {allowed_sections}\r\n",
"[GL07] Sections are in the wrong order. Correct order is: {correct_sections}\r\n",
"[GL08] The object does not have a docstring\r\n",
"[GL09] Deprecation warning should precede extended summary\r\n",
"[SS01] No summary found (a short summary in a single line should be present at the beginning of the docstring)\r\n",
"[SS02] Summary does not start with a capital letter\r\n",
"[SS03] Summary does not end with a period\r\n",
"[SS04] Summary contains heading whitespaces\r\n",
"[SS05] Summary must start with infinitive verb, not third person (e.g. use \"Generate\" instead of \"Generates\")\r\n",
"[SS06] Summary should fit in a single line\r\n",
"[ES01] No extended summary found\r\n",
"[PR01] Parameters {missing_params} not documented\r\n",
"[PR02] Unknown parameters {unknown_params}\r\n",
"[PR03] Wrong parameters order. Actual: {actual_params}. Documented: {documented_params}\r\n",
"[PR04] Parameter \"{param_name}\" has no type\r\n",
"[PR05] Parameter \"{param_name}\" type should not finish with \".\"\r\n",
"[PR06] Parameter \"{param_name}\" type should use \"{right_type}\" instead of \"{wrong_type}\"\r\n",
"[PR07] Parameter \"{param_name}\" has no description\r\n",
"[PR08] Parameter \"{param_name}\" description should start with a capital letter\r\n",
"[PR09] Parameter \"{param_name}\" description should finish with \".\"\r\n",
"[PR10] Parameter \"{param_name}\" requires a space before the colon separating the parameter name and type\r\n",
"[RT01] No Returns section found\r\n",
"[RT02] The first line of the Returns section should contain only the type, unless multiple values are being returned\r\n",
"[RT03] Return value has no description\r\n",
"[RT04] Return value description should start with a capital letter\r\n",
"[RT05] Return value description should finish with \".\"\r\n",
"[YD01] No Yields section found\r\n",
"[SA01] See Also section not found\r\n",
"[SA02] Missing period at end of description for See Also \"{reference_name}\" reference\r\n",
"[SA03] Description should be capitalized for See Also \"{reference_name}\" reference\r\n",
"[SA04] Missing description for See Also \"{reference_name}\" reference\r\n",
"[SA05] {reference_name} in `See Also` section does not need `pandas` prefix, use {right_reference} instead.\r\n",
"[EX01] No examples section found\r\n",
"[EX02] Examples do not pass tests:\r\n",
"{doctest_log}\r\n",
"[EX03] flake8 error: {error_code} {error_message}{times_happening}\r\n",
"[EX04] Do not import {imported_library}, as it is imported automatically for the examples (numpy as np, pandas as pd)\r\n"
]
}
],
"source": [
"!./scripts/validate_docstrings.py --list-errors"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In order to get an overview of the current validation errors, run the validate script in your terminal:"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"./scripts/validate_docstrings.py:524: DtypeWarning: Columns (0) have mixed types. Specify dtype option on import or set low_memory=False.\n",
" runner.run(test, out=f.write)\n",
"./scripts/validate_docstrings.py:1: FutureWarning: Series.nonzero() is deprecated and will be removed in a future version.Use Series.to_numpy().nonzero() instead\n",
" #!/usr/bin/env python\n"
]
}
],
"source": [
"!./scripts/validate_docstrings.py --format=json > validation_errors.json"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"There is a great tool to read in the resulting json file ;-). It is called Pandas!"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"errors = pd.read_json('validation_errors.json', orient='index')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Wrangling the columns containing the errors:"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"errors[\"errors_delimited\"] = (errors\n",
" .loc[:, 'errors']\n",
" .map(lambda err_list: '|'.join([err[0] for err in err_list])))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"An overview count of the error type counts:"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmEAAAJCCAYAAACIzRDTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3X+Y3nV95/vnaxN+BWoShLp0kmW0oD0KNsK9ULpddYkGFGzxqGu8PDWc1RO1UbqXpTVebBsLdou2u3T1+Cu7cKSe1aL0WINpi7FqdXcRuQMTBlyVqEEmcVth6FQbCpK+zx/zHb2bTjL3TIZ+5548H9d1X3Pf7/vz/X7f3/9e1+f7m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p4NqWc5pIVfVl4OC88LXA7c3j24G3dMU/UR1fA5Yn+bXhZDp5quoHVfWt5vGzdP4Tmsb+H5qmL59rNhc3twIuB+5u4vPHYG5s7gauSJIhpTuRkqwErgH+udkO9n/bPAYNwSgXYdPA97q29zUxDcevVtUPoFMoAOc2ccflJGlOq7wGeAj7f6iaU2E7gQPADuA7wDNV9VLTpLuffzoGzfOHgLOGm/HE+Tvgz4GfNNtnYf8PUwH/keSbSTY2MY9BQzDKV8zv9c3Gn3K2z3E5CZKcAfwb8L6q+p+jfLG3/0+CqjoCzCRZDtwDvLJXs+beMRigJG8EDlTVN5NcNhfu0dT+P3leV1X7k5wL7Ejy30dpa/8P0CjPhO0DzuvaXgnsbymXU9EP56aYm/sDTdxxGbAki+kUYP9SVf/ehO3/FlTVM8CX6KzPW55k7otqdz//dAya55fx/0/nq3+vA96cZC+dZSeX05kZs/+HpKr2N/cH6HwJWYvHoKEY5SLsG8Dq5hcyS4D1wPaWczqVbAc2NI83AJ/tiv9J8wuZS4FDc1PWWrhmLctW4LGquqXrKft/SJKc08yAkeR04A/orM17ALiuaTZ/DObG5jrgi+UFF49bVX2gqlZW1So6x/kvVtXbsf+HIsnLk/zy3GPgSmA3HoOGYqQv1prkDXS+EU0B26rq5pZTmkhJPgVcBpwN/BDYAnwGuBP4DeAp4I+r6mBTNHyUzq8pnwf+tKpm28h7EiR5PfAgsIufrYf5Czrrwuz/IUjyW3QWHk/R+WJ6Z1V9KMkr6MzMrAAeBt5RVS8mOQ34JJ31eweB9VX1ZDvZT5bmdORNVfVG+384mn6+p9lcBPxrVd2c5Cw8Bp10I12ESZIkTapRPh0pSZI0sSzCJEmSWmARJkmS1AKLMEmSpBZYhEmSJLXAIkySJKkFFmGSJEktsAiTJElqwf8BLiJ0L9rrmWMAAAAASUVORK5CYII=\n",
"text/plain": [
"<Figure size 720x720 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"(errors\n",
" .loc[:, 'errors']\n",
" .map(lambda err_list: '|'.join([err[0] for err in err_list]))\n",
" .str.get_dummies('|')\n",
" .sum(axis='index')\n",
" .sort_values()\n",
" .plot.barh(figsize = (10, 10)));"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Hence, the strategy is to work __bottom to top__ eliminating those with a few errors. For example, the `PR10` type of errors first, would involve tackling the following issues:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"__Note__: you can ignore the `YD01` errors probaby, as this can be derivded from a shortcoming in the validation script as well..."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"pd.set_option('max_colwidth', 1000)\n",
"cols = ['file', 'file_line', 'github_link']\n",
"\n",
"def errors_of_type(err):\n",
" return (errors[errors[\"errors_delimited\"].str.contains(err)][cols]\n",
" .reset_index()\n",
" .rename(columns={'index': 'method'}))"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.boxplot</td>\n",
" <td>pandas/plotting/_core.py</td>\n",
" <td>2542.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L2542</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.set_option</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.ExcelWriter</td>\n",
" <td>pandas/io/excel.py</td>\n",
" <td>984.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/excel.py#L984</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method file \\\n",
"0 pandas.core.groupby.DataFrameGroupBy.boxplot pandas/plotting/_core.py \n",
"1 pandas.set_option None \n",
"2 pandas.ExcelWriter pandas/io/excel.py \n",
"\n",
" file_line \\\n",
"0 2542.0 \n",
"1 NaN \n",
"2 984.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L2542 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"2 https://github.com/pandas-dev/pandas/blob/master/pandas/io/excel.py#L984 "
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('PR10')"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.resample.Resampler.std</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>796.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L796</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.Grouper</td>\n",
" <td>pandas/core/groupby/grouper.py</td>\n",
" <td>30.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L30</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.core.groupby.GroupBy.rank</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1811.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.rank</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1811.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.Panel.apply</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>1000.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.Panel.transpose</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>1270.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1270</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.Timedelta</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.Timedelta.max</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.Timedelta.min</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.factorize</td>\n",
" <td>pandas/util/_decorators.py</td>\n",
" <td>559.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/util/_decorators.py#L559</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.read_parquet</td>\n",
" <td>pandas/io/parquet.py</td>\n",
" <td>255.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/parquet.py#L255</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.io.formats.style.Styler.render</td>\n",
" <td>pandas/io/formats/style.py</td>\n",
" <td>421.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method file \\\n",
"0 pandas.core.resample.Resampler.std pandas/core/resample.py \n",
"1 pandas.Grouper pandas/core/groupby/grouper.py \n",
"2 pandas.core.groupby.GroupBy.rank pandas/core/groupby/groupby.py \n",
"3 pandas.core.groupby.DataFrameGroupBy.rank pandas/core/groupby/groupby.py \n",
"4 pandas.Panel.apply pandas/core/panel.py \n",
"5 pandas.Panel.transpose pandas/core/panel.py \n",
"6 pandas.Timedelta None \n",
"7 pandas.Timedelta.max None \n",
"8 pandas.Timedelta.min None \n",
"9 pandas.factorize pandas/util/_decorators.py \n",
"10 pandas.read_parquet pandas/io/parquet.py \n",
"11 pandas.io.formats.style.Styler.render pandas/io/formats/style.py \n",
"\n",
" file_line \\\n",
"0 796.0 \n",
"1 30.0 \n",
"2 1811.0 \n",
"3 1811.0 \n",
"4 1000.0 \n",
"5 1270.0 \n",
"6 NaN \n",
"7 NaN \n",
"8 NaN \n",
"9 559.0 \n",
"10 255.0 \n",
"11 421.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L796 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L30 \n",
"2 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811 \n",
"3 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811 \n",
"4 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1000 \n",
"5 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1270 \n",
"6 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"7 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"8 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"9 https://github.com/pandas-dev/pandas/blob/master/pandas/util/_decorators.py#L559 \n",
"10 https://github.com/pandas-dev/pandas/blob/master/pandas/io/parquet.py#L255 \n",
"11 https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421 "
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('PR04')"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.resample.Resampler.get_group</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>626.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.core.groupby.GroupBy.get_group</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>626.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.tshift</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.Series.pipe</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>4924.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.Series.where</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8820.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.Series.mask</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8841.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.Series.first_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10235.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.Series.last_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10240.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.Series.tshift</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8991.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8991</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.Series.to_dense</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>1920.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.Index.searchsorted</td>\n",
" <td>pandas/core/base.py</td>\n",
" <td>1497.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/base.py#L1497</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.DataFrame.where</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8820.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>pandas.DataFrame.mask</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8841.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>pandas.DataFrame.pipe</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>4924.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>pandas.DataFrame.tshift</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8991.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8991</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>pandas.DataFrame.first_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10235.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>pandas.DataFrame.last_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10240.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>pandas.DataFrame.to_dense</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>1920.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>pandas.Panel.axes</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>441.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L441</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>pandas.Panel.isna</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7084.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7084</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>pandas.Panel.notna</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7152.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7152</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>pandas.Panel.rename</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>1252.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1252</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>pandas.Panel.first_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10235.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>pandas.Panel.isnull</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7088.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7088</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>pandas.Panel.last_valid_index</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10240.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>pandas.Panel.mask</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8841.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>pandas.Panel.notnull</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7156.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7156</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>pandas.Panel.pipe</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>4924.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>pandas.Panel.replace</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6444.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6444</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>pandas.Panel.to_dense</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>1920.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>pandas.Panel.transform</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10175.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10175</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>pandas.Panel.where</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>8820.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method \\\n",
"0 pandas.core.resample.Resampler.get_group \n",
"1 pandas.core.groupby.GroupBy.get_group \n",
"2 pandas.core.groupby.DataFrameGroupBy.tshift \n",
"3 pandas.Series.pipe \n",
"4 pandas.Series.where \n",
"5 pandas.Series.mask \n",
"6 pandas.Series.first_valid_index \n",
"7 pandas.Series.last_valid_index \n",
"8 pandas.Series.tshift \n",
"9 pandas.Series.to_dense \n",
"10 pandas.Index.searchsorted \n",
"11 pandas.DataFrame.where \n",
"12 pandas.DataFrame.mask \n",
"13 pandas.DataFrame.pipe \n",
"14 pandas.DataFrame.tshift \n",
"15 pandas.DataFrame.first_valid_index \n",
"16 pandas.DataFrame.last_valid_index \n",
"17 pandas.DataFrame.to_dense \n",
"18 pandas.Panel.axes \n",
"19 pandas.Panel.isna \n",
"20 pandas.Panel.notna \n",
"21 pandas.Panel.rename \n",
"22 pandas.Panel.first_valid_index \n",
"23 pandas.Panel.isnull \n",
"24 pandas.Panel.last_valid_index \n",
"25 pandas.Panel.mask \n",
"26 pandas.Panel.notnull \n",
"27 pandas.Panel.pipe \n",
"28 pandas.Panel.replace \n",
"29 pandas.Panel.to_dense \n",
"30 pandas.Panel.transform \n",
"31 pandas.Panel.where \n",
"\n",
" file file_line \\\n",
"0 pandas/core/groupby/groupby.py 626.0 \n",
"1 pandas/core/groupby/groupby.py 626.0 \n",
"2 None NaN \n",
"3 pandas/core/generic.py 4924.0 \n",
"4 pandas/core/generic.py 8820.0 \n",
"5 pandas/core/generic.py 8841.0 \n",
"6 pandas/core/generic.py 10235.0 \n",
"7 pandas/core/generic.py 10240.0 \n",
"8 pandas/core/generic.py 8991.0 \n",
"9 pandas/core/generic.py 1920.0 \n",
"10 pandas/core/base.py 1497.0 \n",
"11 pandas/core/generic.py 8820.0 \n",
"12 pandas/core/generic.py 8841.0 \n",
"13 pandas/core/generic.py 4924.0 \n",
"14 pandas/core/generic.py 8991.0 \n",
"15 pandas/core/generic.py 10235.0 \n",
"16 pandas/core/generic.py 10240.0 \n",
"17 pandas/core/generic.py 1920.0 \n",
"18 pandas/core/generic.py 441.0 \n",
"19 pandas/core/generic.py 7084.0 \n",
"20 pandas/core/generic.py 7152.0 \n",
"21 pandas/core/panel.py 1252.0 \n",
"22 pandas/core/generic.py 10235.0 \n",
"23 pandas/core/generic.py 7088.0 \n",
"24 pandas/core/generic.py 10240.0 \n",
"25 pandas/core/generic.py 8841.0 \n",
"26 pandas/core/generic.py 7156.0 \n",
"27 pandas/core/generic.py 4924.0 \n",
"28 pandas/core/generic.py 6444.0 \n",
"29 pandas/core/generic.py 1920.0 \n",
"30 pandas/core/generic.py 10175.0 \n",
"31 pandas/core/generic.py 8820.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626 \n",
"2 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"3 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924 \n",
"4 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820 \n",
"5 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841 \n",
"6 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235 \n",
"7 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240 \n",
"8 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8991 \n",
"9 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920 \n",
"10 https://github.com/pandas-dev/pandas/blob/master/pandas/core/base.py#L1497 \n",
"11 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820 \n",
"12 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841 \n",
"13 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924 \n",
"14 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8991 \n",
"15 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235 \n",
"16 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240 \n",
"17 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920 \n",
"18 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L441 \n",
"19 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7084 \n",
"20 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7152 \n",
"21 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1252 \n",
"22 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10235 \n",
"23 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7088 \n",
"24 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10240 \n",
"25 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8841 \n",
"26 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7156 \n",
"27 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L4924 \n",
"28 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6444 \n",
"29 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L1920 \n",
"30 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10175 \n",
"31 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L8820 "
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('GL04')"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.resample.Resampler.apply</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>257.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.core.resample.Resampler.aggregate</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>257.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.Series.agg</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>3427.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.Series.aggregate</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>3427.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.Series.quantile</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>2004.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L2004</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.Series.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.Series.dt.to_pydatetime</td>\n",
" <td>pandas/core/indexes/accessors.py</td>\n",
" <td>129.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/accessors.py#L129</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.Series.dt.to_pytimedelta</td>\n",
" <td>pandas/core/indexes/accessors.py</td>\n",
" <td>199.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/accessors.py#L199</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.Index.shift</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>4242.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4242</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.MultiIndex.get_level_values</td>\n",
" <td>pandas/core/indexes/multi.py</td>\n",
" <td>1380.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L1380</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.DataFrame.agg</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>6295.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.DataFrame.aggregate</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>6295.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>pandas.DataFrame.quantile</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>7717.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L7717</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>pandas.DataFrame.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>pandas.Panel.major_xs</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>793.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L793</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>pandas.Panel.minor_xs</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>817.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L817</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>pandas.api.types.is_categorical_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>572.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L572</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>pandas.api.types.is_datetime64_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>403.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L403</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>pandas.api.types.is_datetime64tz_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>434.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L434</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>pandas.api.types.is_extension_type</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>1643.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1643</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>pandas.api.types.is_integer_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>868.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L868</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>pandas.api.types.is_interval_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>536.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L536</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>pandas.api.types.is_signed_integer_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>923.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L923</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>pandas.api.types.is_timedelta64_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>472.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L472</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>pandas.api.types.is_timedelta64_ns_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>1167.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1167</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>pandas.api.types.is_unsigned_integer_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>980.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L980</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>pandas.api.types.is_datetimetz</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>294.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L294</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>pandas.unique</td>\n",
" <td>pandas/core/algorithms.py</td>\n",
" <td>278.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/algorithms.py#L278</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>pandas.core.window.Rolling.aggregate</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>1678.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1678</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>pandas.core.window.Expanding.aggregate</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>1956.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1956</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>pandas.io.formats.style.Styler.from_custom_template</td>\n",
" <td>pandas/io/formats/style.py</td>\n",
" <td>1210.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L1210</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>pandas.io.formats.style.Styler.render</td>\n",
" <td>pandas/io/formats/style.py</td>\n",
" <td>421.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>pandas.Panel.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method \\\n",
"0 pandas.core.resample.Resampler.apply \n",
"1 pandas.core.resample.Resampler.aggregate \n",
"2 pandas.Series.agg \n",
"3 pandas.Series.aggregate \n",
"4 pandas.Series.quantile \n",
"5 pandas.Series.asof \n",
"6 pandas.Series.dt.to_pydatetime \n",
"7 pandas.Series.dt.to_pytimedelta \n",
"8 pandas.Index.shift \n",
"9 pandas.MultiIndex.get_level_values \n",
"10 pandas.DataFrame.agg \n",
"11 pandas.DataFrame.aggregate \n",
"12 pandas.DataFrame.quantile \n",
"13 pandas.DataFrame.asof \n",
"14 pandas.Panel.major_xs \n",
"15 pandas.Panel.minor_xs \n",
"16 pandas.api.types.is_categorical_dtype \n",
"17 pandas.api.types.is_datetime64_dtype \n",
"18 pandas.api.types.is_datetime64tz_dtype \n",
"19 pandas.api.types.is_extension_type \n",
"20 pandas.api.types.is_integer_dtype \n",
"21 pandas.api.types.is_interval_dtype \n",
"22 pandas.api.types.is_signed_integer_dtype \n",
"23 pandas.api.types.is_timedelta64_dtype \n",
"24 pandas.api.types.is_timedelta64_ns_dtype \n",
"25 pandas.api.types.is_unsigned_integer_dtype \n",
"26 pandas.api.types.is_datetimetz \n",
"27 pandas.unique \n",
"28 pandas.core.window.Rolling.aggregate \n",
"29 pandas.core.window.Expanding.aggregate \n",
"30 pandas.io.formats.style.Styler.from_custom_template \n",
"31 pandas.io.formats.style.Styler.render \n",
"32 pandas.Panel.asof \n",
"\n",
" file file_line \\\n",
"0 pandas/core/resample.py 257.0 \n",
"1 pandas/core/resample.py 257.0 \n",
"2 pandas/core/series.py 3427.0 \n",
"3 pandas/core/series.py 3427.0 \n",
"4 pandas/core/series.py 2004.0 \n",
"5 pandas/core/generic.py 6855.0 \n",
"6 pandas/core/indexes/accessors.py 129.0 \n",
"7 pandas/core/indexes/accessors.py 199.0 \n",
"8 pandas/core/indexes/base.py 4242.0 \n",
"9 pandas/core/indexes/multi.py 1380.0 \n",
"10 pandas/core/frame.py 6295.0 \n",
"11 pandas/core/frame.py 6295.0 \n",
"12 pandas/core/frame.py 7717.0 \n",
"13 pandas/core/generic.py 6855.0 \n",
"14 pandas/core/panel.py 793.0 \n",
"15 pandas/core/panel.py 817.0 \n",
"16 pandas/core/dtypes/common.py 572.0 \n",
"17 pandas/core/dtypes/common.py 403.0 \n",
"18 pandas/core/dtypes/common.py 434.0 \n",
"19 pandas/core/dtypes/common.py 1643.0 \n",
"20 pandas/core/dtypes/common.py 868.0 \n",
"21 pandas/core/dtypes/common.py 536.0 \n",
"22 pandas/core/dtypes/common.py 923.0 \n",
"23 pandas/core/dtypes/common.py 472.0 \n",
"24 pandas/core/dtypes/common.py 1167.0 \n",
"25 pandas/core/dtypes/common.py 980.0 \n",
"26 pandas/core/dtypes/common.py 294.0 \n",
"27 pandas/core/algorithms.py 278.0 \n",
"28 pandas/core/window.py 1678.0 \n",
"29 pandas/core/window.py 1956.0 \n",
"30 pandas/io/formats/style.py 1210.0 \n",
"31 pandas/io/formats/style.py 421.0 \n",
"32 pandas/core/generic.py 6855.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257 \n",
"2 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427 \n",
"3 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427 \n",
"4 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L2004 \n",
"5 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 \n",
"6 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/accessors.py#L129 \n",
"7 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/accessors.py#L199 \n",
"8 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4242 \n",
"9 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L1380 \n",
"10 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295 \n",
"11 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295 \n",
"12 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L7717 \n",
"13 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 \n",
"14 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L793 \n",
"15 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L817 \n",
"16 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L572 \n",
"17 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L403 \n",
"18 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L434 \n",
"19 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1643 \n",
"20 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L868 \n",
"21 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L536 \n",
"22 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L923 \n",
"23 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L472 \n",
"24 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1167 \n",
"25 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L980 \n",
"26 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L294 \n",
"27 https://github.com/pandas-dev/pandas/blob/master/pandas/core/algorithms.py#L278 \n",
"28 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1678 \n",
"29 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1956 \n",
"30 https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L1210 \n",
"31 https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421 \n",
"32 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 "
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('RT04')"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.resample.Resampler.apply</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>257.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.core.resample.Resampler.aggregate</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>257.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.core.resample.Resampler.interpolate</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>761.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L761</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.plotting.bootstrap_plot</td>\n",
" <td>pandas/plotting/_misc.py</td>\n",
" <td>363.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_misc.py#L363</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.Series.agg</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>3427.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.Series.aggregate</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>3427.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.Series.clip</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7208.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.Series.unique</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>1612.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1612</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.Series.align</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>3652.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3652</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.Series.interpolate</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6784.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.Series.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.Series.dt.strftime</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>pandas.tseries.frequencies.to_offset</td>\n",
" <td>pandas/tseries/frequencies.py</td>\n",
" <td>59.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/tseries/frequencies.py#L59</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>pandas.Index.reindex</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>3088.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L3088</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>pandas.Index.isna</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>1815.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L1815</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>pandas.Index.shift</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>4242.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4242</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>pandas.Index.get_indexer_non_unique</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>4428.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4428</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>pandas.MultiIndex.sortlevel</td>\n",
" <td>pandas/core/indexes/multi.py</td>\n",
" <td>2038.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L2038</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>pandas.MultiIndex.swaplevel</td>\n",
" <td>pandas/core/indexes/multi.py</td>\n",
" <td>1941.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L1941</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>pandas.DatetimeIndex.strftime</td>\n",
" <td>pandas/core/indexes/datetimelike.py</td>\n",
" <td>47.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/datetimelike.py#L47</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>pandas.PeriodIndex.strftime</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>pandas.DataFrame.get_ftype_counts</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>5419.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>pandas.DataFrame.get_values</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>5342.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5342</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>pandas.DataFrame.agg</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>6295.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>pandas.DataFrame.aggregate</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>6295.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>pandas.DataFrame.clip</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7208.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>pandas.DataFrame.align</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>3784.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L3784</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>pandas.DataFrame.interpolate</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6784.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>pandas.DataFrame.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>pandas.DataFrame.plot.area</td>\n",
" <td>pandas/plotting/_core.py</td>\n",
" <td>3312.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L3312</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>pandas.DataFrame.boxplot</td>\n",
" <td>pandas/plotting/_core.py</td>\n",
" <td>2243.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L2243</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>pandas.Panel.get_ftype_counts</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>5419.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>pandas.Panel.set_value</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>522.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L522</td>\n",
" </tr>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>pandas.Panel.major_xs</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>793.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L793</td>\n",
" </tr>\n",
" <tr>\n",
" <th>34</th>\n",
" <td>pandas.Panel.minor_xs</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>817.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L817</td>\n",
" </tr>\n",
" <tr>\n",
" <th>35</th>\n",
" <td>pandas.Panel.clip</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>7208.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208</td>\n",
" </tr>\n",
" <tr>\n",
" <th>36</th>\n",
" <td>pandas.Categorical.__array__</td>\n",
" <td>pandas/core/arrays/categorical.py</td>\n",
" <td>1286.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/arrays/categorical.py#L1286</td>\n",
" </tr>\n",
" <tr>\n",
" <th>37</th>\n",
" <td>pandas.unique</td>\n",
" <td>pandas/core/algorithms.py</td>\n",
" <td>278.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/algorithms.py#L278</td>\n",
" </tr>\n",
" <tr>\n",
" <th>38</th>\n",
" <td>pandas.wide_to_long</td>\n",
" <td>pandas/core/reshape/melt.py</td>\n",
" <td>181.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/reshape/melt.py#L181</td>\n",
" </tr>\n",
" <tr>\n",
" <th>39</th>\n",
" <td>pandas.to_numeric</td>\n",
" <td>pandas/core/tools/numeric.py</td>\n",
" <td>14.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/tools/numeric.py#L14</td>\n",
" </tr>\n",
" <tr>\n",
" <th>40</th>\n",
" <td>pandas.core.window.Rolling.kurt</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>1777.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1777</td>\n",
" </tr>\n",
" <tr>\n",
" <th>41</th>\n",
" <td>pandas.core.window.Rolling.aggregate</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>1678.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1678</td>\n",
" </tr>\n",
" <tr>\n",
" <th>42</th>\n",
" <td>pandas.core.window.Expanding.kurt</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>2050.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L2050</td>\n",
" </tr>\n",
" <tr>\n",
" <th>43</th>\n",
" <td>pandas.core.window.Expanding.aggregate</td>\n",
" <td>pandas/core/window.py</td>\n",
" <td>1956.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1956</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44</th>\n",
" <td>pandas.io.formats.style.Styler.render</td>\n",
" <td>pandas/io/formats/style.py</td>\n",
" <td>421.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421</td>\n",
" </tr>\n",
" <tr>\n",
" <th>45</th>\n",
" <td>pandas.Series.get_ftype_counts</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>5419.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419</td>\n",
" </tr>\n",
" <tr>\n",
" <th>46</th>\n",
" <td>pandas.Series.set_value</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>1190.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1190</td>\n",
" </tr>\n",
" <tr>\n",
" <th>47</th>\n",
" <td>pandas.DataFrame.set_value</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>2782.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L2782</td>\n",
" </tr>\n",
" <tr>\n",
" <th>48</th>\n",
" <td>pandas.Panel.asof</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6855.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855</td>\n",
" </tr>\n",
" <tr>\n",
" <th>49</th>\n",
" <td>pandas.Panel.get_values</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>5342.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5342</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50</th>\n",
" <td>pandas.Panel.interpolate</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>6784.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method \\\n",
"0 pandas.core.resample.Resampler.apply \n",
"1 pandas.core.resample.Resampler.aggregate \n",
"2 pandas.core.resample.Resampler.interpolate \n",
"3 pandas.plotting.bootstrap_plot \n",
"4 pandas.Series.agg \n",
"5 pandas.Series.aggregate \n",
"6 pandas.Series.clip \n",
"7 pandas.Series.unique \n",
"8 pandas.Series.align \n",
"9 pandas.Series.interpolate \n",
"10 pandas.Series.asof \n",
"11 pandas.Series.dt.strftime \n",
"12 pandas.tseries.frequencies.to_offset \n",
"13 pandas.Index.reindex \n",
"14 pandas.Index.isna \n",
"15 pandas.Index.shift \n",
"16 pandas.Index.get_indexer_non_unique \n",
"17 pandas.MultiIndex.sortlevel \n",
"18 pandas.MultiIndex.swaplevel \n",
"19 pandas.DatetimeIndex.strftime \n",
"20 pandas.PeriodIndex.strftime \n",
"21 pandas.DataFrame.get_ftype_counts \n",
"22 pandas.DataFrame.get_values \n",
"23 pandas.DataFrame.agg \n",
"24 pandas.DataFrame.aggregate \n",
"25 pandas.DataFrame.clip \n",
"26 pandas.DataFrame.align \n",
"27 pandas.DataFrame.interpolate \n",
"28 pandas.DataFrame.asof \n",
"29 pandas.DataFrame.plot.area \n",
"30 pandas.DataFrame.boxplot \n",
"31 pandas.Panel.get_ftype_counts \n",
"32 pandas.Panel.set_value \n",
"33 pandas.Panel.major_xs \n",
"34 pandas.Panel.minor_xs \n",
"35 pandas.Panel.clip \n",
"36 pandas.Categorical.__array__ \n",
"37 pandas.unique \n",
"38 pandas.wide_to_long \n",
"39 pandas.to_numeric \n",
"40 pandas.core.window.Rolling.kurt \n",
"41 pandas.core.window.Rolling.aggregate \n",
"42 pandas.core.window.Expanding.kurt \n",
"43 pandas.core.window.Expanding.aggregate \n",
"44 pandas.io.formats.style.Styler.render \n",
"45 pandas.Series.get_ftype_counts \n",
"46 pandas.Series.set_value \n",
"47 pandas.DataFrame.set_value \n",
"48 pandas.Panel.asof \n",
"49 pandas.Panel.get_values \n",
"50 pandas.Panel.interpolate \n",
"\n",
" file file_line \\\n",
"0 pandas/core/resample.py 257.0 \n",
"1 pandas/core/resample.py 257.0 \n",
"2 pandas/core/resample.py 761.0 \n",
"3 pandas/plotting/_misc.py 363.0 \n",
"4 pandas/core/series.py 3427.0 \n",
"5 pandas/core/series.py 3427.0 \n",
"6 pandas/core/generic.py 7208.0 \n",
"7 pandas/core/series.py 1612.0 \n",
"8 pandas/core/series.py 3652.0 \n",
"9 pandas/core/generic.py 6784.0 \n",
"10 pandas/core/generic.py 6855.0 \n",
"11 pandas/core/accessor.py 94.0 \n",
"12 pandas/tseries/frequencies.py 59.0 \n",
"13 pandas/core/indexes/base.py 3088.0 \n",
"14 pandas/core/indexes/base.py 1815.0 \n",
"15 pandas/core/indexes/base.py 4242.0 \n",
"16 pandas/core/indexes/base.py 4428.0 \n",
"17 pandas/core/indexes/multi.py 2038.0 \n",
"18 pandas/core/indexes/multi.py 1941.0 \n",
"19 pandas/core/indexes/datetimelike.py 47.0 \n",
"20 pandas/core/accessor.py 94.0 \n",
"21 pandas/core/generic.py 5419.0 \n",
"22 pandas/core/generic.py 5342.0 \n",
"23 pandas/core/frame.py 6295.0 \n",
"24 pandas/core/frame.py 6295.0 \n",
"25 pandas/core/generic.py 7208.0 \n",
"26 pandas/core/frame.py 3784.0 \n",
"27 pandas/core/generic.py 6784.0 \n",
"28 pandas/core/generic.py 6855.0 \n",
"29 pandas/plotting/_core.py 3312.0 \n",
"30 pandas/plotting/_core.py 2243.0 \n",
"31 pandas/core/generic.py 5419.0 \n",
"32 pandas/core/panel.py 522.0 \n",
"33 pandas/core/panel.py 793.0 \n",
"34 pandas/core/panel.py 817.0 \n",
"35 pandas/core/generic.py 7208.0 \n",
"36 pandas/core/arrays/categorical.py 1286.0 \n",
"37 pandas/core/algorithms.py 278.0 \n",
"38 pandas/core/reshape/melt.py 181.0 \n",
"39 pandas/core/tools/numeric.py 14.0 \n",
"40 pandas/core/window.py 1777.0 \n",
"41 pandas/core/window.py 1678.0 \n",
"42 pandas/core/window.py 2050.0 \n",
"43 pandas/core/window.py 1956.0 \n",
"44 pandas/io/formats/style.py 421.0 \n",
"45 pandas/core/generic.py 5419.0 \n",
"46 pandas/core/series.py 1190.0 \n",
"47 pandas/core/frame.py 2782.0 \n",
"48 pandas/core/generic.py 6855.0 \n",
"49 pandas/core/generic.py 5342.0 \n",
"50 pandas/core/generic.py 6784.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L257 \n",
"2 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L761 \n",
"3 https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_misc.py#L363 \n",
"4 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427 \n",
"5 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3427 \n",
"6 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208 \n",
"7 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1612 \n",
"8 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3652 \n",
"9 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784 \n",
"10 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 \n",
"11 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"12 https://github.com/pandas-dev/pandas/blob/master/pandas/tseries/frequencies.py#L59 \n",
"13 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L3088 \n",
"14 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L1815 \n",
"15 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4242 \n",
"16 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4428 \n",
"17 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L2038 \n",
"18 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/multi.py#L1941 \n",
"19 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/datetimelike.py#L47 \n",
"20 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"21 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419 \n",
"22 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5342 \n",
"23 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295 \n",
"24 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6295 \n",
"25 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208 \n",
"26 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L3784 \n",
"27 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784 \n",
"28 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 \n",
"29 https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L3312 \n",
"30 https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L2243 \n",
"31 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419 \n",
"32 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L522 \n",
"33 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L793 \n",
"34 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L817 \n",
"35 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L7208 \n",
"36 https://github.com/pandas-dev/pandas/blob/master/pandas/core/arrays/categorical.py#L1286 \n",
"37 https://github.com/pandas-dev/pandas/blob/master/pandas/core/algorithms.py#L278 \n",
"38 https://github.com/pandas-dev/pandas/blob/master/pandas/core/reshape/melt.py#L181 \n",
"39 https://github.com/pandas-dev/pandas/blob/master/pandas/core/tools/numeric.py#L14 \n",
"40 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1777 \n",
"41 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1678 \n",
"42 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L2050 \n",
"43 https://github.com/pandas-dev/pandas/blob/master/pandas/core/window.py#L1956 \n",
"44 https://github.com/pandas-dev/pandas/blob/master/pandas/io/formats/style.py#L421 \n",
"45 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5419 \n",
"46 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1190 \n",
"47 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L2782 \n",
"48 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6855 \n",
"49 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5342 \n",
"50 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6784 "
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('RT05')"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.core.resample.Resampler.get_group</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>626.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.core.resample.Resampler.nunique</td>\n",
" <td>pandas/core/resample.py</td>\n",
" <td>877.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L877</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.api.extensions.register_extension_dtype</td>\n",
" <td>pandas/core/dtypes/dtypes.py</td>\n",
" <td>19.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/dtypes.py#L19</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.core.groupby.GroupBy.get_group</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>626.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.core.groupby.GroupBy.all</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1059.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1059</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.core.groupby.GroupBy.any</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1046.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1046</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.core.groupby.GroupBy.head</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>2039.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L2039</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.core.groupby.GroupBy.rank</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1811.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.core.groupby.GroupBy.tail</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>2067.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L2067</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.all</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1059.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1059</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.any</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1046.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1046</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.core.groupby.DataFrameGroupBy.rank</td>\n",
" <td>pandas/core/groupby/groupby.py</td>\n",
" <td>1811.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>pandas.core.groupby.SeriesGroupBy.nunique</td>\n",
" <td>pandas/core/groupby/generic.py</td>\n",
" <td>1023.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/generic.py#L1023</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>pandas.plotting.andrews_curves</td>\n",
" <td>pandas/util/_decorators.py</td>\n",
" <td>272.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/util/_decorators.py#L272</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>pandas.Series.put</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>581.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L581</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>pandas.Series.keys</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>1457.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1457</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>pandas.Series.lt</td>\n",
" <td>pandas/core/ops.py</td>\n",
" <td>1864.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L1864</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>pandas.Series.le</td>\n",
" <td>pandas/core/ops.py</td>\n",
" <td>1864.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L1864</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>pandas.Series.rolling</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10145.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10145</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>pandas.Series.expanding</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10156.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10156</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>pandas.Series.ewm</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10164.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10164</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>pandas.Series.argsort</td>\n",
" <td>pandas/core/series.py</td>\n",
" <td>2988.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L2988</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>pandas.Series.str.len</td>\n",
" <td>pandas/core/strings.py</td>\n",
" <td>1737.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/strings.py#L1737</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>pandas.Series.cat.rename_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>pandas.Series.cat.reorder_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>pandas.Series.cat.remove_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>pandas.Series.cat.remove_unused_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>pandas.Series.cat.set_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>pandas.Index.equals</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>4050.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4050</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>pandas.Index.asof_locs</td>\n",
" <td>pandas/core/indexes/base.py</td>\n",
" <td>4145.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4145</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>pandas.CategoricalIndex.rename_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>pandas.CategoricalIndex.reorder_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>pandas.CategoricalIndex.remove_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>pandas.CategoricalIndex.remove_unused_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>34</th>\n",
" <td>pandas.CategoricalIndex.set_categories</td>\n",
" <td>pandas/core/accessor.py</td>\n",
" <td>94.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94</td>\n",
" </tr>\n",
" <tr>\n",
" <th>35</th>\n",
" <td>pandas.CategoricalIndex.equals</td>\n",
" <td>pandas/core/indexes/category.py</td>\n",
" <td>233.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/category.py#L233</td>\n",
" </tr>\n",
" <tr>\n",
" <th>36</th>\n",
" <td>pandas.DatetimeIndex.indexer_at_time</td>\n",
" <td>pandas/core/indexes/datetimes.py</td>\n",
" <td>1285.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/datetimes.py#L1285</td>\n",
" </tr>\n",
" <tr>\n",
" <th>37</th>\n",
" <td>pandas.DataFrame.lt</td>\n",
" <td>pandas/core/ops.py</td>\n",
" <td>2059.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L2059</td>\n",
" </tr>\n",
" <tr>\n",
" <th>38</th>\n",
" <td>pandas.DataFrame.le</td>\n",
" <td>pandas/core/ops.py</td>\n",
" <td>2059.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L2059</td>\n",
" </tr>\n",
" <tr>\n",
" <th>39</th>\n",
" <td>pandas.DataFrame.rolling</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10145.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10145</td>\n",
" </tr>\n",
" <tr>\n",
" <th>40</th>\n",
" <td>pandas.DataFrame.expanding</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10156.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10156</td>\n",
" </tr>\n",
" <tr>\n",
" <th>41</th>\n",
" <td>pandas.DataFrame.ewm</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10164.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10164</td>\n",
" </tr>\n",
" <tr>\n",
" <th>42</th>\n",
" <td>pandas.DataFrame.melt</td>\n",
" <td>pandas/core/frame.py</td>\n",
" <td>6106.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6106</td>\n",
" </tr>\n",
" <tr>\n",
" <th>43</th>\n",
" <td>pandas.Panel.apply</td>\n",
" <td>pandas/core/panel.py</td>\n",
" <td>1000.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44</th>\n",
" <td>pandas.api.types.pandas_dtype</td>\n",
" <td>pandas/core/dtypes/common.py</td>\n",
" <td>1981.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1981</td>\n",
" </tr>\n",
" <tr>\n",
" <th>45</th>\n",
" <td>pandas.Timestamp.now</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>46</th>\n",
" <td>pandas.melt</td>\n",
" <td>pandas/core/reshape/melt.py</td>\n",
" <td>21.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/reshape/melt.py#L21</td>\n",
" </tr>\n",
" <tr>\n",
" <th>47</th>\n",
" <td>pandas.io.stata.StataReader.data</td>\n",
" <td>pandas/io/stata.py</td>\n",
" <td>1430.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1430</td>\n",
" </tr>\n",
" <tr>\n",
" <th>48</th>\n",
" <td>pandas.io.stata.StataReader.data_label</td>\n",
" <td>pandas/io/stata.py</td>\n",
" <td>1728.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1728</td>\n",
" </tr>\n",
" <tr>\n",
" <th>49</th>\n",
" <td>pandas.io.stata.StataReader.value_labels</td>\n",
" <td>pandas/io/stata.py</td>\n",
" <td>1738.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1738</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50</th>\n",
" <td>pandas.io.stata.StataReader.variable_labels</td>\n",
" <td>pandas/io/stata.py</td>\n",
" <td>1732.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1732</td>\n",
" </tr>\n",
" <tr>\n",
" <th>51</th>\n",
" <td>pandas.Series.ptp</td>\n",
" <td>pandas/core/generic.py</td>\n",
" <td>10943.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10943</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" method \\\n",
"0 pandas.core.resample.Resampler.get_group \n",
"1 pandas.core.resample.Resampler.nunique \n",
"2 pandas.api.extensions.register_extension_dtype \n",
"3 pandas.core.groupby.GroupBy.get_group \n",
"4 pandas.core.groupby.GroupBy.all \n",
"5 pandas.core.groupby.GroupBy.any \n",
"6 pandas.core.groupby.GroupBy.head \n",
"7 pandas.core.groupby.GroupBy.rank \n",
"8 pandas.core.groupby.GroupBy.tail \n",
"9 pandas.core.groupby.DataFrameGroupBy.all \n",
"10 pandas.core.groupby.DataFrameGroupBy.any \n",
"11 pandas.core.groupby.DataFrameGroupBy.rank \n",
"12 pandas.core.groupby.SeriesGroupBy.nunique \n",
"13 pandas.plotting.andrews_curves \n",
"14 pandas.Series.put \n",
"15 pandas.Series.keys \n",
"16 pandas.Series.lt \n",
"17 pandas.Series.le \n",
"18 pandas.Series.rolling \n",
"19 pandas.Series.expanding \n",
"20 pandas.Series.ewm \n",
"21 pandas.Series.argsort \n",
"22 pandas.Series.str.len \n",
"23 pandas.Series.cat.rename_categories \n",
"24 pandas.Series.cat.reorder_categories \n",
"25 pandas.Series.cat.remove_categories \n",
"26 pandas.Series.cat.remove_unused_categories \n",
"27 pandas.Series.cat.set_categories \n",
"28 pandas.Index.equals \n",
"29 pandas.Index.asof_locs \n",
"30 pandas.CategoricalIndex.rename_categories \n",
"31 pandas.CategoricalIndex.reorder_categories \n",
"32 pandas.CategoricalIndex.remove_categories \n",
"33 pandas.CategoricalIndex.remove_unused_categories \n",
"34 pandas.CategoricalIndex.set_categories \n",
"35 pandas.CategoricalIndex.equals \n",
"36 pandas.DatetimeIndex.indexer_at_time \n",
"37 pandas.DataFrame.lt \n",
"38 pandas.DataFrame.le \n",
"39 pandas.DataFrame.rolling \n",
"40 pandas.DataFrame.expanding \n",
"41 pandas.DataFrame.ewm \n",
"42 pandas.DataFrame.melt \n",
"43 pandas.Panel.apply \n",
"44 pandas.api.types.pandas_dtype \n",
"45 pandas.Timestamp.now \n",
"46 pandas.melt \n",
"47 pandas.io.stata.StataReader.data \n",
"48 pandas.io.stata.StataReader.data_label \n",
"49 pandas.io.stata.StataReader.value_labels \n",
"50 pandas.io.stata.StataReader.variable_labels \n",
"51 pandas.Series.ptp \n",
"\n",
" file file_line \\\n",
"0 pandas/core/groupby/groupby.py 626.0 \n",
"1 pandas/core/resample.py 877.0 \n",
"2 pandas/core/dtypes/dtypes.py 19.0 \n",
"3 pandas/core/groupby/groupby.py 626.0 \n",
"4 pandas/core/groupby/groupby.py 1059.0 \n",
"5 pandas/core/groupby/groupby.py 1046.0 \n",
"6 pandas/core/groupby/groupby.py 2039.0 \n",
"7 pandas/core/groupby/groupby.py 1811.0 \n",
"8 pandas/core/groupby/groupby.py 2067.0 \n",
"9 pandas/core/groupby/groupby.py 1059.0 \n",
"10 pandas/core/groupby/groupby.py 1046.0 \n",
"11 pandas/core/groupby/groupby.py 1811.0 \n",
"12 pandas/core/groupby/generic.py 1023.0 \n",
"13 pandas/util/_decorators.py 272.0 \n",
"14 pandas/core/series.py 581.0 \n",
"15 pandas/core/series.py 1457.0 \n",
"16 pandas/core/ops.py 1864.0 \n",
"17 pandas/core/ops.py 1864.0 \n",
"18 pandas/core/generic.py 10145.0 \n",
"19 pandas/core/generic.py 10156.0 \n",
"20 pandas/core/generic.py 10164.0 \n",
"21 pandas/core/series.py 2988.0 \n",
"22 pandas/core/strings.py 1737.0 \n",
"23 pandas/core/accessor.py 94.0 \n",
"24 pandas/core/accessor.py 94.0 \n",
"25 pandas/core/accessor.py 94.0 \n",
"26 pandas/core/accessor.py 94.0 \n",
"27 pandas/core/accessor.py 94.0 \n",
"28 pandas/core/indexes/base.py 4050.0 \n",
"29 pandas/core/indexes/base.py 4145.0 \n",
"30 pandas/core/accessor.py 94.0 \n",
"31 pandas/core/accessor.py 94.0 \n",
"32 pandas/core/accessor.py 94.0 \n",
"33 pandas/core/accessor.py 94.0 \n",
"34 pandas/core/accessor.py 94.0 \n",
"35 pandas/core/indexes/category.py 233.0 \n",
"36 pandas/core/indexes/datetimes.py 1285.0 \n",
"37 pandas/core/ops.py 2059.0 \n",
"38 pandas/core/ops.py 2059.0 \n",
"39 pandas/core/generic.py 10145.0 \n",
"40 pandas/core/generic.py 10156.0 \n",
"41 pandas/core/generic.py 10164.0 \n",
"42 pandas/core/frame.py 6106.0 \n",
"43 pandas/core/panel.py 1000.0 \n",
"44 pandas/core/dtypes/common.py 1981.0 \n",
"45 None NaN \n",
"46 pandas/core/reshape/melt.py 21.0 \n",
"47 pandas/io/stata.py 1430.0 \n",
"48 pandas/io/stata.py 1728.0 \n",
"49 pandas/io/stata.py 1738.0 \n",
"50 pandas/io/stata.py 1732.0 \n",
"51 pandas/core/generic.py 10943.0 \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626 \n",
"1 https://github.com/pandas-dev/pandas/blob/master/pandas/core/resample.py#L877 \n",
"2 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/dtypes.py#L19 \n",
"3 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L626 \n",
"4 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1059 \n",
"5 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1046 \n",
"6 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L2039 \n",
"7 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811 \n",
"8 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L2067 \n",
"9 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1059 \n",
"10 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1046 \n",
"11 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1811 \n",
"12 https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/generic.py#L1023 \n",
"13 https://github.com/pandas-dev/pandas/blob/master/pandas/util/_decorators.py#L272 \n",
"14 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L581 \n",
"15 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L1457 \n",
"16 https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L1864 \n",
"17 https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L1864 \n",
"18 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10145 \n",
"19 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10156 \n",
"20 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10164 \n",
"21 https://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L2988 \n",
"22 https://github.com/pandas-dev/pandas/blob/master/pandas/core/strings.py#L1737 \n",
"23 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"24 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"25 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"26 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"27 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"28 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4050 \n",
"29 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/base.py#L4145 \n",
"30 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"31 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"32 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"33 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"34 https://github.com/pandas-dev/pandas/blob/master/pandas/core/accessor.py#L94 \n",
"35 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/category.py#L233 \n",
"36 https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/datetimes.py#L1285 \n",
"37 https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L2059 \n",
"38 https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L2059 \n",
"39 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10145 \n",
"40 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10156 \n",
"41 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10164 \n",
"42 https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L6106 \n",
"43 https://github.com/pandas-dev/pandas/blob/master/pandas/core/panel.py#L1000 \n",
"44 https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/common.py#L1981 \n",
"45 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"46 https://github.com/pandas-dev/pandas/blob/master/pandas/core/reshape/melt.py#L21 \n",
"47 https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1430 \n",
"48 https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1728 \n",
"49 https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1738 \n",
"50 https://github.com/pandas-dev/pandas/blob/master/pandas/io/stata.py#L1732 \n",
"51 https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L10943 "
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('SS05')"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>method</th>\n",
" <th>file</th>\n",
" <th>file_line</th>\n",
" <th>github_link</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>pandas.tseries.offsets.DateOffset.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>pandas.tseries.offsets.BusinessDay.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>pandas.tseries.offsets.BusinessHour.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>pandas.tseries.offsets.CustomBusinessDay.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>pandas.tseries.offsets.CustomBusinessHour.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>pandas.tseries.offsets.MonthOffset.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>pandas.tseries.offsets.MonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>pandas.tseries.offsets.MonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>pandas.tseries.offsets.BusinessMonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>pandas.tseries.offsets.BusinessMonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>pandas.tseries.offsets.CustomBusinessMonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>pandas.tseries.offsets.CustomBusinessMonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>pandas.tseries.offsets.SemiMonthOffset.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>pandas.tseries.offsets.SemiMonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>pandas.tseries.offsets.SemiMonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>pandas.tseries.offsets.Week.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>pandas.tseries.offsets.WeekOfMonth.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>pandas.tseries.offsets.LastWeekOfMonth.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>pandas.tseries.offsets.QuarterOffset.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>pandas.tseries.offsets.BQuarterEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>pandas.tseries.offsets.BQuarterBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>pandas.tseries.offsets.QuarterEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>pandas.tseries.offsets.QuarterBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>pandas.tseries.offsets.YearOffset.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>pandas.tseries.offsets.BYearEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>pandas.tseries.offsets.BYearBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>pandas.tseries.offsets.YearEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>pandas.tseries.offsets.YearBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>pandas.tseries.offsets.FY5253.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>pandas.tseries.offsets.FY5253Quarter.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>pandas.tseries.offsets.Tick.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>pandas.tseries.offsets.Day.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>pandas.tseries.offsets.Hour.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>34</th>\n",
" <td>pandas.tseries.offsets.Minute.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>35</th>\n",
" <td>pandas.tseries.offsets.Second.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>36</th>\n",
" <td>pandas.tseries.offsets.Milli.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>37</th>\n",
" <td>pandas.tseries.offsets.Micro.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>38</th>\n",
" <td>pandas.tseries.offsets.Nano.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>39</th>\n",
" <td>pandas.tseries.offsets.BDay.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>40</th>\n",
" <td>pandas.tseries.offsets.BMonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>41</th>\n",
" <td>pandas.tseries.offsets.BMonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>42</th>\n",
" <td>pandas.tseries.offsets.CBMonthEnd.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>43</th>\n",
" <td>pandas.tseries.offsets.CBMonthBegin.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44</th>\n",
" <td>pandas.tseries.offsets.CDay.normalize</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>45</th>\n",
" <td>pandas.Timestamp.ceil</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>46</th>\n",
" <td>pandas.Timestamp.combine</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>47</th>\n",
" <td>pandas.Timestamp.floor</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>48</th>\n",
" <td>pandas.Timestamp.fromordinal</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>49</th>\n",
" <td>pandas.Timestamp.fromtimestamp</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50</th>\n",
" <td>pandas.Timestamp.replace</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>51</th>\n",
" <td>pandas.Timestamp.strftime</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>52</th>\n",
" <td>pandas.Timestamp.strptime</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>53</th>\n",
" <td>pandas.Timedelta.view</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>54</th>\n",
" <td>pandas.Timedelta.ceil</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>55</th>\n",
" <td>pandas.Timedelta.floor</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>56</th>\n",
" <td>pandas.Timedelta.to_pytimedelta</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>57</th>\n",
" <td>pandas.HDFStore.groups</td>\n",
" <td>pandas/io/pytables.py</td>\n",
" <td>1093.0</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/pandas/io/pytables.py#L1093</td>\n",
" </tr>\n",
" <tr>\n",
" <th>58</th>\n",
" <td>pandas.Panel.items</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>59</th>\n",
" <td>pandas.Panel.major_axis</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" <tr>\n",
" <th>60</th>\n",
" <td>pandas.Panel.minor_axis</td>\n",
" <td>None</td>\n",
" <td>NaN</td>\n",
" <td>https://github.com/pandas-dev/pandas/blob/master/None#LNone</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>61 rows × 4 columns</p>\n",
"</div>"
],
"text/plain": [
" method \\\n",
"0 pandas.tseries.offsets.DateOffset.normalize \n",
"1 pandas.tseries.offsets.BusinessDay.normalize \n",
"2 pandas.tseries.offsets.BusinessHour.normalize \n",
"3 pandas.tseries.offsets.CustomBusinessDay.normalize \n",
"4 pandas.tseries.offsets.CustomBusinessHour.normalize \n",
"5 pandas.tseries.offsets.MonthOffset.normalize \n",
"6 pandas.tseries.offsets.MonthEnd.normalize \n",
"7 pandas.tseries.offsets.MonthBegin.normalize \n",
"8 pandas.tseries.offsets.BusinessMonthEnd.normalize \n",
"9 pandas.tseries.offsets.BusinessMonthBegin.normalize \n",
"10 pandas.tseries.offsets.CustomBusinessMonthEnd.normalize \n",
"11 pandas.tseries.offsets.CustomBusinessMonthBegin.normalize \n",
"12 pandas.tseries.offsets.SemiMonthOffset.normalize \n",
"13 pandas.tseries.offsets.SemiMonthEnd.normalize \n",
"14 pandas.tseries.offsets.SemiMonthBegin.normalize \n",
"15 pandas.tseries.offsets.Week.normalize \n",
"16 pandas.tseries.offsets.WeekOfMonth.normalize \n",
"17 pandas.tseries.offsets.LastWeekOfMonth.normalize \n",
"18 pandas.tseries.offsets.QuarterOffset.normalize \n",
"19 pandas.tseries.offsets.BQuarterEnd.normalize \n",
"20 pandas.tseries.offsets.BQuarterBegin.normalize \n",
"21 pandas.tseries.offsets.QuarterEnd.normalize \n",
"22 pandas.tseries.offsets.QuarterBegin.normalize \n",
"23 pandas.tseries.offsets.YearOffset.normalize \n",
"24 pandas.tseries.offsets.BYearEnd.normalize \n",
"25 pandas.tseries.offsets.BYearBegin.normalize \n",
"26 pandas.tseries.offsets.YearEnd.normalize \n",
"27 pandas.tseries.offsets.YearBegin.normalize \n",
"28 pandas.tseries.offsets.FY5253.normalize \n",
"29 pandas.tseries.offsets.FY5253Quarter.normalize \n",
".. ... \n",
"31 pandas.tseries.offsets.Tick.normalize \n",
"32 pandas.tseries.offsets.Day.normalize \n",
"33 pandas.tseries.offsets.Hour.normalize \n",
"34 pandas.tseries.offsets.Minute.normalize \n",
"35 pandas.tseries.offsets.Second.normalize \n",
"36 pandas.tseries.offsets.Milli.normalize \n",
"37 pandas.tseries.offsets.Micro.normalize \n",
"38 pandas.tseries.offsets.Nano.normalize \n",
"39 pandas.tseries.offsets.BDay.normalize \n",
"40 pandas.tseries.offsets.BMonthEnd.normalize \n",
"41 pandas.tseries.offsets.BMonthBegin.normalize \n",
"42 pandas.tseries.offsets.CBMonthEnd.normalize \n",
"43 pandas.tseries.offsets.CBMonthBegin.normalize \n",
"44 pandas.tseries.offsets.CDay.normalize \n",
"45 pandas.Timestamp.ceil \n",
"46 pandas.Timestamp.combine \n",
"47 pandas.Timestamp.floor \n",
"48 pandas.Timestamp.fromordinal \n",
"49 pandas.Timestamp.fromtimestamp \n",
"50 pandas.Timestamp.replace \n",
"51 pandas.Timestamp.strftime \n",
"52 pandas.Timestamp.strptime \n",
"53 pandas.Timedelta.view \n",
"54 pandas.Timedelta.ceil \n",
"55 pandas.Timedelta.floor \n",
"56 pandas.Timedelta.to_pytimedelta \n",
"57 pandas.HDFStore.groups \n",
"58 pandas.Panel.items \n",
"59 pandas.Panel.major_axis \n",
"60 pandas.Panel.minor_axis \n",
"\n",
" file file_line \\\n",
"0 None NaN \n",
"1 None NaN \n",
"2 None NaN \n",
"3 None NaN \n",
"4 None NaN \n",
"5 None NaN \n",
"6 None NaN \n",
"7 None NaN \n",
"8 None NaN \n",
"9 None NaN \n",
"10 None NaN \n",
"11 None NaN \n",
"12 None NaN \n",
"13 None NaN \n",
"14 None NaN \n",
"15 None NaN \n",
"16 None NaN \n",
"17 None NaN \n",
"18 None NaN \n",
"19 None NaN \n",
"20 None NaN \n",
"21 None NaN \n",
"22 None NaN \n",
"23 None NaN \n",
"24 None NaN \n",
"25 None NaN \n",
"26 None NaN \n",
"27 None NaN \n",
"28 None NaN \n",
"29 None NaN \n",
".. ... ... \n",
"31 None NaN \n",
"32 None NaN \n",
"33 None NaN \n",
"34 None NaN \n",
"35 None NaN \n",
"36 None NaN \n",
"37 None NaN \n",
"38 None NaN \n",
"39 None NaN \n",
"40 None NaN \n",
"41 None NaN \n",
"42 None NaN \n",
"43 None NaN \n",
"44 None NaN \n",
"45 None NaN \n",
"46 None NaN \n",
"47 None NaN \n",
"48 None NaN \n",
"49 None NaN \n",
"50 None NaN \n",
"51 None NaN \n",
"52 None NaN \n",
"53 None NaN \n",
"54 None NaN \n",
"55 None NaN \n",
"56 None NaN \n",
"57 pandas/io/pytables.py 1093.0 \n",
"58 None NaN \n",
"59 None NaN \n",
"60 None NaN \n",
"\n",
" github_link \n",
"0 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"1 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"2 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"3 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"4 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"5 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"6 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"7 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"8 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"9 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"10 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"11 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"12 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"13 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"14 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"15 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"16 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"17 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"18 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"19 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"20 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"21 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"22 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"23 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"24 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"25 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"26 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"27 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"28 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"29 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
".. ... \n",
"31 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"32 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"33 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"34 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"35 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"36 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"37 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"38 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"39 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"40 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"41 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"42 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"43 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"44 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"45 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"46 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"47 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"48 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"49 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"50 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"51 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"52 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"53 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"54 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"55 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"56 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"57 https://github.com/pandas-dev/pandas/blob/master/pandas/io/pytables.py#L1093 \n",
"58 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"59 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"60 https://github.com/pandas-dev/pandas/blob/master/None#LNone \n",
"\n",
"[61 rows x 4 columns]"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"errors_of_type('SS02')"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"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.7.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment