Traceback (most recent call last):


 "dask_wrap_example.py", line 18, in <module>

lazy = da.from_array(wrapped, chunks=-1)


 "/tmp/persistent/miniconda3/envs/dask2/lib/python3.7/site-packages/dask/array/core.py", line 2683, in from_array

return Array(dsk, name, chunks, meta=meta, dtype=getattr(x, "dtype", None))


 "/tmp/persistent/miniconda3/envs/dask2/lib/python3.7/site-packages/dask/array/core.py", line 1000, in __new__

meta = meta_from_array(meta, dtype=dtype)


 "/tmp/persistent/miniconda3/envs/dask2/lib/python3.7/site-packages/dask/array/utils.py", line 86, in meta_from_array

ndim = x.ndim
AttributeError: 'Wrapped' object has no attribute 'ndim'

Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/home/...", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "/home/...", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "/home/...", line 3, in <module>

graph = karate.KarateClub()


 "/home/.../dgl/data/karate.py", line 21, in __init__

[kG.node[i]['club'] != 'Mr. Hi' for i in kG.nodes]).astype(np.int64)


 "/home/.../dgl/data/karate.py", line 21, in <listcomp>

[kG.node[i]['club'] != 'Mr. Hi' for i in kG.nodes]).astype(np.int64)
AttributeError: 'Graph' object has no attribute 'node'
