using RDatasets
iris = dataset("datasets", "iris")
SepalLength | SepalWidth | PetalLength | PetalWidth | Species | |
---|---|---|---|---|---|
1 | 5.1 | 3.5 | 1.4 | 0.2 | setosa |
2 | 4.9 | 3.0 | 1.4 | 0.2 | setosa |
3 | 4.7 | 3.2 | 1.3 | 0.2 | setosa |
4 | 4.6 | 3.1 | 1.5 | 0.2 | setosa |
5 | 5.0 | 3.6 | 1.4 | 0.2 | setosa |
6 | 5.4 | 3.9 | 1.7 | 0.4 | setosa |
7 | 4.6 | 3.4 | 1.4 | 0.3 | setosa |
8 | 5.0 | 3.4 | 1.5 | 0.2 | setosa |
9 | 4.4 | 2.9 | 1.4 | 0.2 | setosa |
10 | 4.9 | 3.1 | 1.5 | 0.1 | setosa |
11 | 5.4 | 3.7 | 1.5 | 0.2 | setosa |
12 | 4.8 | 3.4 | 1.6 | 0.2 | setosa |
13 | 4.8 | 3.0 | 1.4 | 0.1 | setosa |
14 | 4.3 | 3.0 | 1.1 | 0.1 | setosa |
15 | 5.8 | 4.0 | 1.2 | 0.2 | setosa |
16 | 5.7 | 4.4 | 1.5 | 0.4 | setosa |
17 | 5.4 | 3.9 | 1.3 | 0.4 | setosa |
18 | 5.1 | 3.5 | 1.4 | 0.3 | setosa |
19 | 5.7 | 3.8 | 1.7 | 0.3 | setosa |
20 | 5.1 | 3.8 | 1.5 | 0.3 | setosa |
21 | 5.4 | 3.4 | 1.7 | 0.2 | setosa |
22 | 5.1 | 3.7 | 1.5 | 0.4 | setosa |
23 | 4.6 | 3.6 | 1.0 | 0.2 | setosa |
24 | 5.1 | 3.3 | 1.7 | 0.5 | setosa |
25 | 4.8 | 3.4 | 1.9 | 0.2 | setosa |
26 | 5.0 | 3.0 | 1.6 | 0.2 | setosa |
27 | 5.0 | 3.4 | 1.6 | 0.4 | setosa |
28 | 5.2 | 3.5 | 1.5 | 0.2 | setosa |
29 | 5.2 | 3.4 | 1.4 | 0.2 | setosa |
30 | 4.7 | 3.2 | 1.6 | 0.2 | setosa |
⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
%get iris --from Julia
Nullable{S}, Base.Nullable{T}) in module Base at nullable.jl:238 overwritten in module NullableArrays at C:\JuliaPkg\v0.6\NullableArrays\src\operators.jl:99.
MethodError: no method matching nullcount(::DataArrays.PooledDataArray{String,UInt8,1}) Closest candidates are: nullcount(::NullableArrays.NullableArray{T,1} where T) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:289 nullcount(::Array{T,1} where T) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:290 nullcount(::CategoricalArrays.CategoricalArray) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:291 ... Stacktrace: [1] close!(::Feather.Sink) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:445 [2] #write#35(::Bool, ::Dict{Int64,Function}, ::Array{Any,1}, ::Function, ::String, ::DataFrames.DataFrame) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:504 [3] write(::String, ::DataFrames.DataFrame) at C:\JuliaPkg\v0.6\Feather\src\Feather.jl:503 [4] __julia_py_repr_dataframe(::DataFrames.DataFrame) at .\In[0]:34 [5] __julia_py_repr(::DataFrames.DataFrame) at .\In[0]:123 [6] include_string(::String, ::String) at .\loading.jl:522
Failed to get iris from Julia: list index out of range
import Feather: nullcount
nullcount(x::DataArrays.PooledDataArray) = count(isna.(x))
nullcount (generic function with 6 methods)
%get iris --from Julia
%preview iris