add example of AsTable
This commit is contained in:
parent
1d60455809
commit
f62a3b2ab0
4
ch14.jl
4
ch14.jl
@ -131,6 +131,10 @@ df
|
|||||||
|
|
||||||
all(x -> x.status == "OK", df.data)
|
all(x -> x.status == "OK", df.data)
|
||||||
|
|
||||||
|
small_df = DataFrame(x=[(a=1, b=2), (a=3, b=4), (a=5, b=6)])
|
||||||
|
transform(small_df, :x => identity => AsTable)
|
||||||
|
transform(small_df, :x => AsTable)
|
||||||
|
|
||||||
df2 = select(df, :K, :data => ByRow(x -> x.value) => AsTable)
|
df2 = select(df, :K, :data => ByRow(x -> x.value) => AsTable)
|
||||||
|
|
||||||
using Plots
|
using Plots
|
||||||
|
Loading…
Reference in New Issue
Block a user