question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG-REPORT] Storing an array of strings

See original GitHub issue

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

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:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JovanVeljanoskicommented, Jun 23, 2022

Well it should not crash… can you open a separate issue for that please?

1reaction
JovanVeljanoskicommented, Jun 17, 2022

This is now explained on this (https://github.com/vaexio/vaex/pull/2088)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found