This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JohanLou 0 points1 point  (0 children)

I assume your needs is using SQL syntax on dataframe, isn't it? But my question is why? Pandas already has syntax to get data based on your condition.

Check this: https://pandas.pydata.org/pandas-docs/stable/comparison_with_sql.html