Python Get Printed Output into Dataframe
问题 I am having trouble getting the printed output of a python script into a data frame. When I execute the script the information I want in the data frame prints, but the script creates an empty table in SQL. I believe there's something wrong with the structure of my script at the point where I try to get the results into a data frame. --- import requests from bs4 import BeautifulSoup from urllib.parse import urlparse, parse_qs headers = ({'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit