Answer the question
In order to leave comments, you need to log in
How to keep bold when parsing in pandas?
I am writing a parser to search for applicants on the aggregator (I want to know how many of my competitors have already submitted their consent to other universities). The admlist.ru aggregator has a "Other EP" column, and the university to which the applicant has applied is highlighted in bold (for example, admlist.ru/spbu/84dfc6825d54d82d7c23133176f812a1.html).
Here is my parsing code:
import pandas as pd
import requests
import urllib
url = 'http://admlist.ru/spbu/84dfc6825d54d82d7c23133176f812a1.html'
html = requests.get(url).content
df_list_admlist = pd.read_html(html)
admlist = df_list_admlist[-1]
admlist["Другие ОП"][4]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question