{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"\n",
"\n",
"\n",
"---\n",
"\n",
"To get started: consult [start](start.ipynb)\n",
"\n",
"---\n",
"\n",
"# Export to Excel\n",
"\n",
"In a notebook, you can perform searches and view them in a tabular display and zoom in on items with\n",
"pretty displays.\n",
"\n",
"But there are times that you want to take your results outside Text-Fabric, outside a notebook, outside Python, and just\n",
"work with them in other programs, such as Excel.\n",
"\n",
"You want to do that not only with query results, but with all kinds of lists of tuples of nodes.\n",
"\n",
"There is a function for that, `A.export()`, and here we show what it can do."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"ExecuteTime": {
"end_time": "2018-05-24T10:06:39.818664Z",
"start_time": "2018-05-24T10:06:39.796588Z"
}
},
"outputs": [],
"source": [
"import os\n",
"from tf.app import use"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"TF-app:~/text-fabric-data/q-ran/quran/app"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"data:~/text-fabric-data/q-ran/quran/tf/0.4"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"This is Text-Fabric 9.2.3\n",
"Api reference : https://annotation.github.io/text-fabric/tf/cheatsheet.html\n",
"\n",
"40 features found and 0 ignored\n"
]
},
{
"data": {
"text/html": [
"Text-Fabric:Text-Fabric API 9.2.3, q-ran/quran/app v3, Search Reference Data:QURAN, Character table, Feature docs Features: \n",
"Quran\n",
"