Skip to content

Commit

Permalink
Remove notebook outputs from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Gómez committed Jan 18, 2024
1 parent 1275111 commit b086f64
Showing 1 changed file with 7 additions and 171 deletions.
178 changes: 7 additions & 171 deletions docs/user-guide/advanced/Pandas_API.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -477,78 +477,10 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "4219c826-a84b-4722-9847-372d3837acdb",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>a</th>\n",
" <th>b</th>\n",
" <th>c</th>\n",
" <th>d</th>\n",
" </tr>\n",
" <tr>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>7</td>\n",
" <td>7</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>8</td>\n",
" <td>11</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2</td>\n",
" <td>6</td>\n",
" <td>9</td>\n",
" <td>14</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>4</td>\n",
" <td>7</td>\n",
" <td>10</td>\n",
" <td>14</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>"
],
"text/plain": [
"pykx.Table(pykx.q('\n",
"a b c d \n",
"---------\n",
"1 1 7 7 \n",
"2 2 8 11\n",
"2 6 9 14\n",
"4 7 10 14\n",
"'))"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"tab = kx.Table(data=\n",
" {\n",
Expand All @@ -563,58 +495,10 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "437ab485-bf73-4209-b63e-aa0d1bfa5d58",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" <tr>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>a</th>\n",
" <td>2.227147</td>\n",
" </tr>\n",
" <tr>\n",
" <th>b</th>\n",
" <td>-4.890533</td>\n",
" </tr>\n",
" <tr>\n",
" <th>c</th>\n",
" <td>-1.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>d</th>\n",
" <td>-0.04958678</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>"
],
"text/plain": [
"pykx.Dictionary(pykx.q('\n",
"a| 2.227147\n",
"b| -4.890533\n",
"c| -1.2\n",
"d| -0.04958678\n",
"'))"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"tab.kurt()"
]
Expand All @@ -629,58 +513,10 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "63312e8b-76f0-46eb-b4d7-b2213561c86e",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" <tr>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>-6f</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>-3.901235</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>-0.1014759</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>-0.6838056</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>"
],
"text/plain": [
"pykx.Dictionary(pykx.q('\n",
"0| -6\n",
"1| -3.901235\n",
"2| -0.1014759\n",
"3| -0.6838056\n",
"'))"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"tab.kurt(axis=1)"
]
Expand Down Expand Up @@ -3281,7 +3117,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit b086f64

Please sign in to comment.