In [1]:
using RDatasets
iris = dataset("datasets", "iris")
Out[1]:
SepalLengthSepalWidthPetalLengthPetalWidthSpecies
15.13.51.40.2setosa
24.93.01.40.2setosa
34.73.21.30.2setosa
44.63.11.50.2setosa
55.03.61.40.2setosa
65.43.91.70.4setosa
74.63.41.40.3setosa
85.03.41.50.2setosa
94.42.91.40.2setosa
104.93.11.50.1setosa
115.43.71.50.2setosa
124.83.41.60.2setosa
134.83.01.40.1setosa
144.33.01.10.1setosa
155.84.01.20.2setosa
165.74.41.50.4setosa
175.43.91.30.4setosa
185.13.51.40.3setosa
195.73.81.70.3setosa
205.13.81.50.3setosa
215.43.41.70.2setosa
225.13.71.50.4setosa
234.63.61.00.2setosa
245.13.31.70.5setosa
254.83.41.90.2setosa
265.03.01.60.2setosa
275.03.41.60.4setosa
285.23.51.50.2setosa
295.23.41.40.2setosa
304.73.21.60.2setosa
In [2]:
%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
In [3]:
import Feather: nullcount
nullcount(x::DataArrays.PooledDataArray) = count(isna.(x))
Out[3]:
nullcount (generic function with 6 methods)
In [4]:
%get iris --from Julia
In [5]:
%preview iris
In [ ]: