Skip to content

Instantly share code, notes, and snippets.

@preinoso
Created February 6, 2018 13:44
Show Gist options
  • Save preinoso/e7c4897335fb6363ec476e8d49d2c343 to your computer and use it in GitHub Desktop.
Save preinoso/e7c4897335fb6363ec476e8d49d2c343 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"cells": [
{
"execution_count": 1,
"cell_type": "code",
"metadata": {},
"source": "# The code was removed by DSX for sharing.",
"outputs": [
{
"data": {
"text/plain": " CUSTNAME GenderCode ADDRESS1 CITY STATE \\\n0 Allen Perl Mr. 4707 Hillcrest Lane Abeto PG \n1 Allen Perl Mr. 4707 Hillcrest Lane Abeto PG \n2 Allen Perl Mr. 4707 Hillcrest Lane Abeto PG \n3 Allen Perl Mr. 4707 Hillcrest Lane Abeto PG \n4 Allen Perl Mr. 4707 Hillcrest Lane Abeto PG \n\n COUNTRY_CODE POSTAL_CODE POSTAL_CODE_PLUS4 ADDRESS2 \\\n0 IT 6040 0 NaN \n1 IT 6040 0 NaN \n2 IT 6040 0 NaN \n3 IT 6040 0 NaN \n4 IT 6040 0 NaN \n\n EMAIL_ADDRESS ... Cleaning Products Condiments \\\n0 Allen.M.Perl@spambob.com ... 0 1 \n1 Allen.M.Perl@spambob.com ... 1 0 \n2 Allen.M.Perl@spambob.com ... 0 0 \n3 Allen.M.Perl@spambob.com ... 0 0 \n4 Allen.M.Perl@spambob.com ... 0 0 \n\n Frozen Foods Kitchen Items Meat Office Supplies Personal Care \\\n0 0 0 0 0 0 \n1 0 0 0 0 0 \n2 0 0 0 0 0 \n3 0 0 0 0 0 \n4 0 0 0 0 0 \n\n Pet Supplies Sea Food Spices \n0 0 0 0 \n1 0 0 0 \n2 0 0 0 \n3 0 0 0 \n4 0 0 0 \n\n[5 rows x 62 columns]",
"text/html": "<div>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>CUSTNAME</th>\n <th>GenderCode</th>\n <th>ADDRESS1</th>\n <th>CITY</th>\n <th>STATE</th>\n <th>COUNTRY_CODE</th>\n <th>POSTAL_CODE</th>\n <th>POSTAL_CODE_PLUS4</th>\n <th>ADDRESS2</th>\n <th>EMAIL_ADDRESS</th>\n <th>...</th>\n <th>Cleaning Products</th>\n <th>Condiments</th>\n <th>Frozen Foods</th>\n <th>Kitchen Items</th>\n <th>Meat</th>\n <th>Office Supplies</th>\n <th>Personal Care</th>\n <th>Pet Supplies</th>\n <th>Sea Food</th>\n <th>Spices</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>0</th>\n <td>Allen Perl</td>\n <td>Mr.</td>\n <td>4707 Hillcrest Lane</td>\n <td>Abeto</td>\n <td>PG</td>\n <td>IT</td>\n <td>6040</td>\n <td>0</td>\n <td>NaN</td>\n <td>Allen.M.Perl@spambob.com</td>\n <td>...</td>\n <td>0</td>\n <td>1</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n </tr>\n <tr>\n <th>1</th>\n <td>Allen Perl</td>\n <td>Mr.</td>\n <td>4707 Hillcrest Lane</td>\n <td>Abeto</td>\n <td>PG</td>\n <td>IT</td>\n <td>6040</td>\n <td>0</td>\n <td>NaN</td>\n <td>Allen.M.Perl@spambob.com</td>\n <td>...</td>\n <td>1</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n </tr>\n <tr>\n <th>2</th>\n <td>Allen Perl</td>\n <td>Mr.</td>\n <td>4707 Hillcrest Lane</td>\n <td>Abeto</td>\n <td>PG</td>\n <td>IT</td>\n <td>6040</td>\n <td>0</td>\n <td>NaN</td>\n <td>Allen.M.Perl@spambob.com</td>\n <td>...</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n </tr>\n <tr>\n <th>3</th>\n <td>Allen Perl</td>\n <td>Mr.</td>\n <td>4707 Hillcrest Lane</td>\n <td>Abeto</td>\n <td>PG</td>\n <td>IT</td>\n <td>6040</td>\n <td>0</td>\n <td>NaN</td>\n <td>Allen.M.Perl@spambob.com</td>\n <td>...</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n </tr>\n <tr>\n <th>4</th>\n <td>Allen Perl</td>\n <td>Mr.</td>\n <td>4707 Hillcrest Lane</td>\n <td>Abeto</td>\n <td>PG</td>\n <td>IT</td>\n <td>6040</td>\n <td>0</td>\n <td>NaN</td>\n <td>Allen.M.Perl@spambob.com</td>\n <td>...</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n <td>0</td>\n </tr>\n </tbody>\n</table>\n<p>5 rows \u00d7 62 columns</p>\n</div>"
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
]
},
{
"execution_count": null,
"cell_type": "code",
"metadata": {},
"source": "",
"outputs": []
}
],
"metadata": {
"language_info": {
"pygments_lexer": "ipython2",
"version": "2.7.11",
"codemirror_mode": {
"version": 2,
"name": "ipython"
},
"mimetype": "text/x-python",
"name": "python",
"file_extension": ".py",
"nbconvert_exporter": "python"
},
"kernelspec": {
"language": "python",
"display_name": "Python 2 with Spark 2.1",
"name": "python2-spark21"
}
},
"nbformat_minor": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment