Update Notebook examples for 8.0

This commit is contained in:
Seth Michael Larson 2021-12-15 16:01:32 -06:00 committed by GitHub
parent cd0897f5d7
commit ffe7c792dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 538 additions and 536 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,8 @@
}
],
"source": [
"es = Elasticsearch()\n",
"# NBVAL_IGNORE_OUTPUT\n",
"es = Elasticsearch('http://localhost:9200')\n",
"ed_df = ed.DataFrame('http://localhost:9200', 'flights', columns = [\"AvgTicketPrice\", \"Cancelled\", \"dayOfWeek\", \"timestamp\", \"DestCountry\"])\n",
"es.indices.exists(index=\"churn\")"
]
@ -275,7 +276,8 @@
}
],
"source": [
"es.indices.delete(index='churn', ignore=[400, 404])"
"# NBVAL_IGNORE_OUTPUT\n",
"es.options(ignore_status=[400, 404]).indices.delete(index='churn')"
]
}
],