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()

貢獻者指南