← Back to context

Comment by bdjsiqoocwk

7 months ago

Nonsense, if you understand why df[df.sh ==val] you'll see it's great. If you don't, you can also do df.query("sh == val").

If you type df[df2.sh == val] you will understand why it is not great.

  • That might or might not make sense depending on what df1 and df2 contain.

    But what are you saying, that typing wrong things you might get wrong results? Yes, coding is like that.

    What's your point, make a point.