Describe the enhancement requested
Deno has officially supported Jupyter, and jupyter output can be customized by defining a [Symbol.for("Jupyter.display")] method in the class.
For example, the following code displays a dataframe.
{
[Symbol.for("Jupyter.display")]() {
return {
// HTML output
"text/html": `
<table border="1" class="dataframe">
<thead>
<tr>
<th>name</th>
<th>age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Alice</td>
<td>22</td>
</tr>
<tr>
<td>Bob</td>
<td>24</td>
</tr>
</tbody>
</table>`,
}
}
The output is like:
This can be helpful for interactive data exploration.
Are you interested in having such integration in your project? I can help make a pull request.
Describe the enhancement requested
Deno has officially supported Jupyter, and jupyter output can be customized by defining a
[Symbol.for("Jupyter.display")]method in the class.For example, the following code displays a dataframe.
The output is like:
This can be helpful for interactive data exploration.
Are you interested in having such integration in your project? I can help make a pull request.