JuliaAI / ScientificTypes.jl

An API for dispatching on the "scientific" type of data instead of the machine type
MIT License
96 stars 8 forks source link

Schema should redirect output to the REPL #129

Closed tlienart closed 2 years ago

tlienart commented 4 years ago

I'm not sure how to do it but it should be easy to do: when evaluating schema(df) in Juno, the output is shown "inlined"

Screen Shot 2020-05-24 at 16 12 14

it should be shown in the REPL instead.

ablaom commented 4 years ago

Sorry, I'm not familiar with Juno. What decides what goes to the REPL and what goes get's "inlined"?

The table is generated using PrettyTables.jl.

https://github.com/alan-turing-institute/MLJScientificTypes.jl/blob/03732e0dfa9e39eb2897bdea15021c0f63a15332/src/schema.jl#L78

What happens in Juno if you just use PrettyTables.pretty_table(df)?

ablaom commented 3 years ago

ping @tlienart

ablaom commented 3 years ago

@OkonSamuel This is an ancient issue and Juno is now supplanted by VS Code. I think you use this, no? Do you have an issue with the display of schema there?

OkonSamuel commented 3 years ago

I'll check if this is also an issue with Vs Code.

OkonSamuel commented 2 years ago

I can confirm that on Vscode the output of schema is redirected to the REPL.