[FEATURE-REQUEST] Vaex All Columns Dynamic Access Support
See original GitHub issueDescription I wish to aggregate all columns to a single column in vaex.
Something like :
df["combined"] = ",".join(df[reduced_cols])
Is your feature request related to a problem? Please describe. There is no simple way to do this in vaex.
Additional context Can be done in pandas using axis of apply, something like
df["combined"] = df[reduced_cols].apply(
lambda row: ",".join(row.values.astype(str)), axis=1
)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Supported column datatypes, and whether stateful ML ...
What are the basic datatypes that vaex supports? ... and I'm passing the list of all columns from the dataframe dynamically, like:.
Read more >Vaex: The process cannot access the file because it is being ...
I am working on an application that uses Vaex for accessing data from a feather file. We are creating virtual columns in a...
Read more >Vaex introduction in 11 minutes
Central to Vaex is the DataFrame (similar, but more efficient than a Pandas ... A set of virtual columns, columns that are backed...
Read more >The Garden of Forking Paths | Kaggle
Sometimes I fork the exact same kernel but time runs out ⓪ ou in a kernel, I suggest you click on "fork notebook"...
Read more >Opinions on data scientists using Airflow : r/dataengineering
(E.g. "Run cell block 3 first then run 2 and 5 then run 4 between every iteration of 7-8). The most notable problem...
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
Hey,
Vaex in general does not support the
axis
argument i believe… so most if not all operations are column oriented (with exception of joins of course).But there are relatively easy ways to accomplish what you are after. For example, first thing that comes to mind is:
Will close due to inactivity. Please reopen if needed