我有以下BeautifulSoup对象:
from bs4 import BeautifulSoup
import requests
import re
url = 'https://www.adviserinfo.sec.gov/IAPD/content/viewform/adv/Sections/iapd_AdvPrivateFundReportingSection.aspx?ORG_PK=161227&FLNG_PK=05C43A1A0008018C026407B10062D49D056C8CC0'
html = requests.get(url)
soup = BeautifulSoup(html.text, "lxml")
我正在寻找的东西就像Pandas中的.head()函数。我想在框架的顶部看到一些东西,但是对象太长了,我无法滚动到顶部。
我看了一遍,但我还没找到任何东西。任何帮助表示赞赏。