I'am writing a code that requires appending a dataframe to include the new data to a specific column
Here is an extract of the code as below, I'am trying to append dataframe (df), with new data(N) to column name(NAME).
Names = driver.find_elements_by_class_name('section-result-title')
for Name in Names:
N=Name.text
df = df.append(N, columns=['Name'])
Please advise how to amend the code to produce the required result.