diff --git a/pandas/pandas_clean.ipynb b/pandas/pandas_clean.ipynb index 221366f..88efc19 100644 --- a/pandas/pandas_clean.ipynb +++ b/pandas/pandas_clean.ipynb @@ -13,10 +13,8 @@ "metadata": {}, "source": [ "# Pandas Cleaning\n", - "* Clean\n", - "* Transform\n", - "* Merge\n", - "* Reshape\n", + "* Replace\n", + "* Drop\n", "* Concatenate" ] }, @@ -36,7 +34,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Check for matching values in a specific column for replacement:" + "Setup a DataFrame:" ] }, { @@ -115,61 +113,11 @@ "prompt_number": 2 }, { - "cell_type": "code", - "collapsed": false, - "input": [ - "df_1[df_1['state'] == 'VA']" - ], - "language": "python", + "cell_type": "markdown", "metadata": {}, - "outputs": [ - { - "html": [ - "
\n", - " | population | \n", - "state | \n", - "year | \n", - "
---|---|---|---|
0 | \n", - "5.0 | \n", - "VA | \n", - "2012 | \n", - "
1 | \n", - "5.1 | \n", - "VA | \n", - "2013 | \n", - "
2 | \n", - "5.2 | \n", - "VA | \n", - "2014 | \n", - "