[BUG-REPORT] Storing an array of strings
See original GitHub issueThank 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
This succeeds:
data = {"A": [1], "B": [[1, 2, 3]]}
vx.from_dict(data)
A | B | |
---|---|---|
0 | 1 | array([1, 2, 3]) |
and this fails:
data = {"A": [1], "B": [["a", "b", "c"]]}
vx.from_dict(data)
"""
Error
pyarrow.lib.ArrowInvalid: only handle
1-dimensional arrays
"""
is this a limitation of pyarrow or vaex? any simple workarounds.
Software information
vx.__version__
{'vaex': '4.9.2',
'vaex-core': '4.9.2',
'vaex-viz': '0.5.2',
'vaex-hdf5': '0.12.2',
'vaex-server': '0.8.1',
'vaex-astro': '0.9.1',
'vaex-jupyter': '0.8.0',
'vaex-ml': '0.17.0'}
Additional information Please state any supplementary information or provide additional context for the problem (e.g. screenshots, data, etc…).
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How can I save an array of strings? | Apple Developer Forums
I'm new to app development and I try to save an array of strings to stay the same after a restart. I want...
Read more >Storing array of strings in specifies variables respectively
I'm a beginner at JAVA and I'm writing this code that's supposed to receive an array of strings and store every string (array...
Read more >[Bug Report] <v-select> item-text with array of strings don't work
[Bug Report] <v-select> item-text with array of strings don't work #7997 ... Set an array of strings as item prop
Read more >PHP HEREDOC array with string key flagged as syntax error
NetBeans IDE 7.3 RC2 (Build 201302050851): Inside a PHP HEREDOC block, array with numeric key is accepted, but array with string key ...
Read more >Expand ListPreference to support alternate array types ...
Create a ListPreference. For entries and entryValues specify something other than a string-array. Use an integer-array for example. Application
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well it should not crash… can you open a separate issue for that please?
This is now explained on this (https://github.com/vaexio/vaex/pull/2088)