danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

String Query : This is only supported in older versions. That is versions lower than v1.0.0

Open JacobMJones opened this issue 2 years ago • 1 comments

How do I query string columns then?

JacobMJones avatar Jan 31 '23 12:01 JacobMJones

Using the other method in the documentation: Query a DataFrame using a boolean mask

The example from Query by a string column in a DataFrame in the docs:

df.query(df.column('A').apply(val => val === 'Ng'))

kitfit-dave avatar Apr 14 '23 13:04 kitfit-dave