Category : loops

I need to select a subset from the given dataframe. Here is the df: import pandas as pd import numpy as np df = pd.DataFrame({ ‘custom_id’: [‘aa’,’aa’,’aa’,’aa’,’aa’,’aa’, ‘bk’, ‘bk’, ‘bk’, ‘bk’,’bk’, ‘dd’, ‘dd’, ‘dd’, ‘dd’, ‘dd’, ‘ff’, ‘ff’, ‘ff’, ‘ff’, ‘ff’, ‘ff’, ‘pu’, ‘pu’, ‘pu’, ‘pu’], ‘sending_num’: [11, 252, 198, 266, 5317, ‘from’, 67, 287, ..

Read more

Thanks for being here! I have a block of code that scrapes/interacts with a website which looks like this: listurl = ‘https://thewebsitethatimworkingon.com/thepageitson’ alert_accept() driver.get(listurl) alert_accept() ############################################################################################ driver.refresh() # import our list, the Select function, the By function for selections, expected conditions, and our time function so we can sleep from kiberlist import mfrnumbersfirstportion as mfrnumbers ..

Read more