Untitled

user_9601555 avatar
user_9601555
python
05/14/2023 10:34 AM
172 B
449
Indexable
import polars as pl
res_df = df.with_columns([pl.col('sentence').str.contains(keyword).alias(keyword) for keyword in keywords])
Editor is loading...