|
42 | 42 | "outputs": [], |
43 | 43 | "source": [ |
44 | 44 | "# creata a list of topics that should be ordered\n", |
45 | | - "ordered_topics = ['Jupyter', 'Python', 'Binder', 'Numpy', 'scikit-image', 'napari','Cellpose', 'PyImageJ','Visualization',\n", |
46 | | - " 'Applications', 'Computing','Data','Installation']\n", |
| 45 | + "ordered_topics = ['Category3', 'Category1']\n", |
47 | 46 | "\n", |
48 | 47 | "# add any missing topic at the end of the list\n", |
49 | 48 | "final_list = ordered_topics + [x for x in questions['Category name'].dropna().unique() if x not in ordered_topics]\n", |
|
106 | 105 | "data": { |
107 | 106 | "text/markdown": [ |
108 | 107 | "## Table of contents \n", |
| 108 | + "* <a href=\"#category3_2\">Category3</a> \n", |
109 | 109 | "* <a href=\"#category1_2\">Category1</a> \n", |
110 | 110 | "* <a href=\"#category2_2\">Category2</a> \n", |
111 | | - "* <a href=\"#category3_2\">Category3</a> \n", |
| 111 | + " \n", |
| 112 | + "## <a name=\"category3_2\" /></a>Category3 \n", |
| 113 | + "**Is this my fourth question?** \n", |
| 114 | + " \n", |
| 115 | + "Yes it is. \n", |
| 116 | + " \n", |
| 117 | + "**Is this my seventh question?** \n", |
| 118 | + " \n", |
| 119 | + "Yes it is. \n", |
112 | 120 | " \n", |
113 | 121 | "## <a name=\"category1_2\" /></a>Category1 \n", |
114 | 122 | "**Is this my first question?** \n", |
|
135 | 143 | "**Is this my sixth question?** \n", |
136 | 144 | " \n", |
137 | 145 | "Yes it is. \n", |
138 | | - " \n", |
139 | | - "## <a name=\"category3_2\" /></a>Category3 \n", |
140 | | - "**Is this my fourth question?** \n", |
141 | | - " \n", |
142 | | - "Yes it is. \n", |
143 | | - " \n", |
144 | | - "**Is this my seventh question?** \n", |
145 | | - " \n", |
146 | | - "Yes it is. \n", |
147 | 146 | " \n" |
148 | 147 | ], |
149 | 148 | "text/plain": [ |
|
0 commit comments