# FloatingTableView with Jupyter Notebook?

**URL:** https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659
**Category:** General Usage
**Tags:** question
**Created:** [October 13, 2022, 12:24pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659 "2022-10-13T12:24:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 13, 2022, 12:24pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/1 "2022-10-13T12:24:41Z")

</div>

FloatingTableView is a cool package for the console, but it doesn’t seem to work within a Jupyter Notebook (either using Jupytern or VSCode). Is there any way to get it working, or any alternatives for Notebook?

Thanks for any help - this would be really handy for my students

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 13, 2022, 2:30pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/2 "2022-10-13T14:30:08Z")

</div>

What is the error? I just tried getting it to work in a Jupyter Notebook and it worked fine.

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 13, 2022, 4:08pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/3 "2022-10-13T16:08:11Z")

</div>

Thanks - it was inside VSCode’s implementation of Jupyter Notebooks

`browse(df)`

```julia
IOError: connect: connection refused (ECONNREFUSED)

Stacktrace:
  [1] wait_connected(x::Sockets.TCPSocket)
    @ Sockets /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:529
  [2] connect
    @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:564 [inlined]
  [3] connect(addr::Sockets.IPv4, port::Int64)
    @ Sockets /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Sockets/src/Sockets.jl:550
  [4] try_connect(::Sockets.IPv4, ::Vararg{Any}; interval::Float64, attempts::Int64)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:79
  [5] try_connect
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:76 [inlined]
  [6] init(; debug::Bool)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:93
  [7] #shell#11
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:149 [inlined]
  [8] shell
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:140 [inlined]
  [9] #Window#16
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89 [inlined]
 [10] Window
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89 [inlined]
 [11] browse(df::DataFrame; height::String, newwindow::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ FloatingTableView ~/.julia/packages/FloatingTableView/3oFY2/src/FloatingTableView.jl:69

```

Thanks for any help.

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 13, 2022, 4:22pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/4 "2022-10-13T16:22:35Z")

</div>

Can you please try opening up a Blink window by itself?

```julia
julia> using Blink

julia> w = Window() # Open a new window
Blink.AtomShell.Window(...)

julia> body!(w, "Hello World") # Set the body content

julia> loadurl(w, "http://julialang.org") # Load a web page

```

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 13, 2022, 4:33pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/5 "2022-10-13T16:33:25Z")

</div>

Yes, the Blink window was problematic as well.

I just came across something seems I need to run

```julia
python3 -m pip install --upgrade webio_jupyter_extension

```

or Conda equivalent.

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 13, 2022, 5:07pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/6 "2022-10-13T17:07:55Z")

</div>

> [@compleat](#):
>
> Yes, the Blink window was problematic as well.

The problem lies with Blink, then. See some docs [here](https://github.com/JuliaGizmos/Blink.jl#issues--caveats). Hopefully that isn’t your problem because that would be too much configuration for your students.

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 13, 2022, 5:23pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/7 "2022-10-13T17:23:56Z")

</div>

Hi. Thanks. What I was hoping for was something like exists in R where table editing of variables via a popout window is really quick and easy. What I have decided to do instead for now is use VSCode’s CSV editor to load/save csv files of DataFrames and use the CSV option to load them in/out of Julia.

A bit clunky, but it works.

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 13, 2022, 5:33pm UTC](https://discourse.julialang.org/t/floatingtableview-with-jupyter-notebook/88659/8 "2022-10-13T17:33:30Z")

</div>

Just as a note, this is probably bad practice and should be discouraged. For reproducibility, a;l changes should be done in the code and the raw data should be left “raw”.
