Siterip K2s New Access

# Create a dynamic column df['dynamic_column'] = df['text'].apply(lambda x: 'Yes' if 'siterip k2s new' in x else 'No')

import pandas as pd

data.forEach(item => { item.dynamicColumn = item.text.includes('siterip k2s new') ? 'Yes' : 'No'; }); siterip k2s new

# Sample DataFrame data = { 'text': ['siterip k2s new example', 'another text', 'siterip k2s new here'] } df = pd.DataFrame(data) # Create a dynamic column df['dynamic_column'] = df['text']