Hello,
I have a TSFrame
like so
julia> table
50×5 TSFrame with Date Index
Index Open High Low Close Volume
Date Float64 Float64 Float64 Float64 Float64
─────────────────────────────────────────────────────────
2020-01-01 10.81 11.02 9.9 10.5 55.03
2020-01-02 10.58 10.74 9.78 9.78 117.86
2020-01-03 10.07 10.65 9.5 10.46 301.04
2020-01-04 10.58 11.05 10.47 10.51 157.94
2020-01-05 10.56 10.7 10.26 10.55 39.96
2020-01-06 10.4 10.73 10.4 10.72 42.87
2020-01-07 10.74 11.16 10.12 10.16 191.95
2020-01-08 10.16 10.86 9.91 10.25 55.09
2020-01-09 10.29 10.29 9.4 9.4 131.58
2020-01-10 9.4 10.8 9.11 9.5 249.69
2020-01-11 9.62 9.62 9.12 9.23 77.75
2020-01-12 9.35 9.35 8.5 8.5 197.33
2020-01-13 8.64 9.43 8.55 8.8 107.93
2020-01-14 8.8 8.91 8.21 8.33 35.86
2020-01-15 8.31 8.84 7.34 7.53 269.05
2020-01-16 7.56 7.82 7.53 7.61 34.18
2020-01-17 7.61 7.61 6.5 6.78 209.1
2020-01-18 7.04 8.84 7.04 8.6 241.95
2020-01-19 8.56 9.42 8.15 9.21 162.86
2020-01-20 9.26 9.5 8.72 8.95 112.99
2020-01-21 8.95 9.29 8.6 9.22 66.53
2020-01-22 9.31 9.4 8.89 9.1 87.5
2020-01-23 9.1 9.1 8.14 8.31 349.14
2020-01-24 8.51 8.51 8.24 8.37 44.38
2020-01-25 8.42 8.95 8.06 8.3 45.79
2020-01-26 8.3 8.7 7.7 7.78 139.4
2020-01-27 7.87 8.95 7.87 8.05 46.49
2020-01-28 7.94 8.75 7.94 8.1 27.45
2020-01-29 8.1 8.39 8.0 8.08 16.44
2020-01-30 8.08 8.28 7.37 7.49 83.54
2020-01-31 7.49 7.58 7.49 7.58 15.08
2020-02-01 7.4 8.17 7.38 8.17 60.72
2020-02-02 8.09 8.83 8.05 8.83 140.22
2020-02-03 8.86 9.2 8.79 8.91 171.6
2020-02-04 8.81 9.25 8.67 9.2 209.26
2020-02-05 9.16 10.1 9.16 9.76 199.2
2020-02-06 9.69 9.88 8.9 9.42 165.77
2020-02-07 9.45 9.65 9.17 9.3 61.71
2020-02-08 9.18 9.32 8.6 9.32 29.73
2020-02-09 9.4 9.4 8.92 9.04 12.93
2020-02-10 9.0 9.01 8.99 9.0 4.14
2020-02-11 9.11 9.36 9.11 9.33 12.45
2020-02-12 9.23 9.46 9.11 9.34 42.23
2020-02-13 9.34 9.34 8.43 8.49 133.29
2020-02-14 8.49 9.4 8.42 9.21 120.02
2020-02-15 9.3 10.5 9.26 10.15 255.3
2020-02-16 10.23 10.3 10.0 10.3 111.55
2020-02-17 10.29 10.86 10.19 10.59 108.27
2020-02-18 10.77 10.77 10.15 10.23 48.29
2020-02-19 10.28 10.39 9.62 10.0 81.66
I get the Tables.Schema
using
julia> sch = Tables.schema(table)
Tables.Schema:
:Index Date
:Open Float64
:High Float64
:Low Float64
:Close Float64
:Volume Float64
julia> sch.
names
types
julia> sch.names
(:Index, :Open, :High, :Low, :Close, :Volume)
julia> sch.types
(Date, Float64, Float64, Float64, Float64, Float64)
julia> fieldnames(typeof(sch))
(:storednames, :storedtypes)
julia> methodswith(typeof(sch))
0-element Vector{Method}
I wonder what is the correct manner to get type of column :Close
(if this column exists).
Kind regards