visitors with multiple columns #285
-
Hello Hossein, Thank you for the nice work. I am playing with the dataframe and the visitors. I have a simple question. How to apply the visitor for multiple columns? Here is a concrete example. (It seems the markdown has some issue with the header inclusions and main function syntax. So I excluded them.)
Thank you. Useong Kim |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, I don't have that kind of interface, because I never personally had use case for it. But there are a couple of things you can do:
Best, |
Beta Was this translation helpful? Give feedback.
Hi,
I don't have that kind of interface, because I never personally had use case for it. But there are a couple of things you can do:
Write your own visitor that does that
. It is very easy to write your own visitor. I specifically designed the visitor interface so it would be reasonably easy for end users to write their own algorithm. See the visitor section in docs (https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/DataFrame.html)Use the async version of the visitor interface
. Call the 3 sums with single_act_visit_async() which will run in parallel (https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTM…