That is really cool David, I fully agree with this modularization :)
-Júlio
...@gmail.com] On Behalf Of Jacob Quinn
Sent: Wednesday, October 12, 2016 11:14 PM
To: julia-users@googlegroups.com
Subject: Re: [julia-users] Filtering DataFrame with a function
I think the Julia ecosystem is evolving tremendously in this respect. I think
originally, there were a lot of these
gt;
>>>>> @where foo(i)
>>>>>
>>>>>
>>>>>
>>>>> As long as the returns a Bool, you should be good.
>>>>>
>>>>>
>>>>>
>>>>> If you run a query like this, q will b
hat is something I
>>>> should
>>>> probably enable at some point (I’m also looking into the VB LINQ syntax
>>>> that supports things like counting in the query expression itself).
>>>>
>>>>
>>>>
>>>> But you coul
julia iterator.
>>>> Right now you can’t just say length(q), although that is something I should
>>>> probably enable at some point (I’m also looking into the VB LINQ syntax
>>>> that supports things like counting in the query expression itself).
>>>>
>>&
supports things like counting in the query expression itself).
>>>
>>>
>>>
>>> But you could materialize the query as an array and then look at the
>>> length of that:
>>>
>>>
>>>
>>> q = @from i in df begin
>>>
>
t;
>> @collect
>>
>> end
>>
>> count = length(q)
>>
>>
>>
>> The @collect statement means that the query will return an array of a
>> NamedTuple type (you can also materialize it into a whole bunch of other
>> data structures, tak
his point. Best
> way for that is to open issues here https://github.com/
> davidanthoff/Query.jl.
>
>
>
> Best,
>
> David
>
>
>
> *From:* julia-users@googlegroups.com [mailto:julia-users@googlegroups.com]
> *On Behalf Of *Júlio Hoffimann
> *Sent:* Wednesda
, 2016 5:20 PM
To: julia-users
Subject: [julia-users] Filtering DataFrame with a function
Hi,
I have a DataFrame for which I want to filter rows that match a given criteria.
I don't have the number of columns beforehand, so I cannot explicitly list the
criteria with the :symbol synt
Hi,
I have a DataFrame for which I want to filter rows that match a given
criteria. I don't have the number of columns beforehand, so I cannot
explicitly list the criteria with the :symbol syntax or write down a fixed
number of indices.
Is there any way to filter with a lambda expression? Or e
10 matches
Mail list logo