vaexio/vaex

[BUG-REPORT] Vaex `to_dask_array` fails `AttributeError: 'ValueError' object has no attribute 'numpy'`

Open

#1,970 创建于 2022年3月12日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Python (591 fork)batch import
good first issuehelp wanted

仓库指标

Star
 (8,117 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Thank you for reaching out and helping us improve Vaex!

Before you submit a new Issue, please read through the documentation. Also, make sure you search through the Open and Closed Issues - your problem may already be discussed or addressed.

Description Please provide a clear and concise description of the problem. This should contain all the steps needed to reproduce the problem. A minimal code example that exposes the problem is very appreciated.

Software information

  • Vaex version (import vaex; vaex.__version__): {'vaex-core': '4.8.0', 'vaex-hdf5': '0.11.1'}
  • Vaex was installed via: pip / conda-forge / from source pip
  • OS: MacOS

Additional information Please state any supplementary information or provide additional context for the problem (e.g. screenshots, data, etc..).

import vaex

def tolist(x,y):
    return list([x,y])

data = {'A':[1,2,1],'B':['a','b','c'], 'C':['d', 'e', 'f']}
df = vaex.from_dict(data)
df.to_dask_array()

贡献者指南