# Sifting in DataFramesMeta (or DataFrames)

**URL:** <https://discourse.julialang.org/t/sifting-in-dataframesmeta-or-dataframes/43022>\
**Category:** New to Julia\
**Created:** [July 14, 2020, 7:47am UTC](https://discourse.julialang.org/t/sifting-in-dataframesmeta-or-dataframes/43022 "2020-07-14T07:47:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nash](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nash/32/14482_2.png) [@Nash](https://discourse.julialang.org/u/Nash)\
**Post date:** [July 14, 2020, 7:47am UTC](https://discourse.julialang.org/t/sifting-in-dataframesmeta-or-dataframes/43022/1 "2020-07-14T07:47:31Z")

</div>

I have a DataFrame (df) that has a column of string and a column of floats as the first two columns. I am trying sift df by specifying particular entries in the first and second column. I was hoping that the following would work in DataFramesMeta, but it doesn’t

```
`@where(df, :marketIds .= "1.171398518", :stockIds .= 8.962037e6)`

```

I get: “MethodError: no method matching &(::String, ::Float64)”

How is my problem solved? I have no preference for DataFramesMeta or DataFrames (here to learn, so if I should have a preference, I will develop one!)

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 14, 2020, 8:04am UTC](https://discourse.julialang.org/t/sifting-in-dataframesmeta-or-dataframes/43022/2 "2020-07-14T08:04:47Z")

</div>

It is `.==`:

```julia
@where(df, :marketIds .== "1.171398518", :stockIds .== 8.962037e6)

```
