How is vscodedisplay() supposed to work?
If I run vscodedisplay(df) on a dataframe I get an error:
julia> include("Analyize.jl")
601ร85 DataFrame. Omitted printing of 78 columns
โ Row โ time โ time_rel โ time_1 โ t_event โ t_podstate โ t_sysstate โ t_gndstate โ
โ โ String โ Float64 โ Float64 โ Float64โฐ โ Float64โฐ โ Float64โฐ โ Float64โฐ โ
โโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโค
โ 1 โ 2012-06-23 15:14:49.914000+02:00 โ 29.999 โ 1.34046e9 โ missing โ 30.002 โ 30.035 โ 30.0 โ
โ 2 โ 2012-06-23 15:14:49.863000+02:00 โ 29.949 โ 1.34046e9 โ missing โ 29.952 โ 29.985 โ 29.95 โ
โ 3 โ 2012-06-23 15:14:49.814000+02:00 โ 29.899 โ 1.34046e9 โ missing โ 29.902 โ 29.935 โ 29.9 โ
โ 4 โ 2012-06-23 15:14:49.764000+02:00 โ 29.849 โ 1.34046e9 โ missing โ 29.852 โ 29.885 โ 29.85 โ
โฎ
โ 597 โ 2012-06-23 15:14:20.113000+02:00 โ 0.199 โ 1.34046e9 โ missing โ 0.202 โ 0.235 โ 0.2 โ
โ 598 โ 2012-06-23 15:14:20.064000+02:00 โ 0.149 โ 1.34046e9 โ missing โ 0.152 โ 0.185 โ 0.15 โ
โ 599 โ 2012-06-23 15:14:20.014000+02:00 โ 0.099 โ 1.34046e9 โ missing โ missing โ 0.135 โ 0.1 โ
โ 600 โ 2012-06-23 15:14:19.964000+02:00 โ 0.049 โ 1.34046e9 โ missing โ missing โ 0.085 โ 0.05 โ
โ 601 โ 2012-06-23 15:14:19.914000+02:00 โ -0.001 โ 1.34046e9 โ 0.0 โ missing โ missing โ missing โ
julia> vscodedisplay(df2)
ERROR: MethodError: Main._vscodeserver.julia_type_to_schema_type(::Type{Union{}}) is ambiguous. Candidates:
julia_type_to_schema_type(::Type{T}) where T<:Integer in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:357
julia_type_to_schema_type(::Type{T}) where T<:Bool in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:358
julia_type_to_schema_type(::Type{T}) where T<:Dates.Time in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:359
julia_type_to_schema_type(::Type{T}) where T<:Dates.Date in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:360
julia_type_to_schema_type(::Type{T}) where T<:Dates.DateTime in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:361
julia_type_to_schema_type(::Type{T}) where T<:AbstractString in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:362
julia_type_to_schema_type(::Type{T}) where {S, T<:DataValue{S}} in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:304
julia_type_to_schema_type(::Type{T}) where T<:AbstractFloat in Main._vscodeserver at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:356
Possible fix, define
julia_type_to_schema_type(::Type{Union{}})
Stacktrace:
[1] julia_type_to_schema_type(::Type{DataValues.DataValue{Union{}}}) at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:304
[2] printdataresource(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Tables.DataValueRowIterator{NamedTuple{(:time, :time_rel, :time_1, :t_event, :t_podstate, :t_sysstate, :t_gndstate, :t_miniwinchstate, :t_winchstate, :t_pilotctrlstate, :pod_ctrl_state, :system_state, :event, :gps_state, :kalman_state, :lat, :long, :alt, :phi, :theta, :psi, :d_phi, :d_theta, :d_psi, :vx, :vy, :vz, :acc_x, :acc_y, :acc_z, :gps_sat_trimble, :glos_sat_trimble, :trimble_lat, :trimble_long, :trimble_alt, :trimble_delay, :sigma_north, :sigma_east, :sigma_up, :trimble_vel_hor, :trimble_course_hor, :trimble_vel_vert, :u_av_batt, :u_min_depower, :u_min_steering, :t_smotor, :t_dmotor, :counter, :rtt_ms, :packet_number, :path, :wind_dir, :wind_vel, :gnd_lat, :gnd_long, :gnd_alt, :v_reelout, :tetherLength, :force, :u_batt, :i_brake, :i_main, :i_out, :i_spindle, :u_wind, :abs_pressure, :av_wind_dir, :av_wind_vel, :est_app_wind_kite, :app_wind_kite, :pos_east, :pos_north, :height, :elevation, :azimuth, :kite_distance, :tether_length_reelout, :heading, :course, :rel_depower, :rel_steering, :depower, :steering, :set_depower, :set_steering),Tuple{String,Float64,Float64,DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Union{}},DataValues.DataValue{Float64},DataValues.DataValue{Float64},Float64,DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Union{}},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Union{}},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64},DataValues.DataValue{Float64}}},Tables.RowIterator{NamedTuple{(:time, :time_rel, :time_1, :t_event, :t_podstate, :t_sysstate, :t_gndstate, :t_miniwinchstate, :t_winchstate, :t_pilotctrlstate, :pod_ctrl_state, :system_state, :event, :gps_state, :kalman_state, :lat, :long, :alt, :phi, :theta, :psi, :d_phi, :d_theta, :d_psi, :vx, :vy, :vz, :acc_x, :acc_y, :acc_z, :gps_sat_trimble, :glos_sat_trimble, :trimble_lat, :trimble_long, :trimble_alt, :trimble_delay, :sigma_north, :sigma_east, :sigma_up, :trimble_vel_hor, :trimble_course_hor, :trimble_vel_vert, :u_av_batt, :u_min_depower, :u_min_steering, :t_smotor, :t_dmotor, :counter, :rtt_ms, :packet_number, :path, :wind_dir, :wind_vel, :gnd_lat, :gnd_long, :gnd_alt, :v_reelout, :tetherLength, :force, :u_batt, :i_brake, :i_main, :i_out, :i_spindle, :u_wind, :abs_pressure, :av_wind_dir, :av_wind_vel, :est_app_wind_kite, :app_wind_kite, :pos_east, :pos_north, :height, :elevation, :azimuth, :kite_distance, :tether_length_reelout, :heading, :course, :rel_depower, :rel_steering, :depower, :steering, :set_depower, :set_steering),Tuple{Array{String,1},Array{Float64,1},Array{Float64,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Missing,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Float64,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Missing,1},Array{Missing,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Missing,1},Array{Missing,1},Array{Missing,1},Array{Missing,1},Array{Missing,1},Array{Missing,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Missing,1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1},Array{Union{Missing, Float64},1}}}}}) at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:392
[3] vscodedisplay(::DataFrame) at /home/ufechner/.vscode/extensions/julialang.language-julia-0.12.0-rc.7/scripts/terminalserver/terminalserver.jl:429
[4] top-level scope at none:0