I have been using Pandas for more than 3 months and I have an fair idea about the dataframes accessing and querying etc.
I have got an requirement wherein I wanted to query the dataframe using LIKE keyword (LIKE similar to SQL) in pandas.query().
i.e: Am trying to execute pandas.query("column_name LIKE 'abc%'") command but its failing.
I know an alternative approach which is to use str.contains("abc%") but this doesn't meet our requirement.
We wanted to execute LIKE inside pandas.query(). How can I do so?
str.contains()
?