From 879d08ffaf07aa1d4705178060c8da6d24d45dd9 Mon Sep 17 00:00:00 2001 From: tdhood Date: Thu, 20 Apr 2023 09:21:34 -0700 Subject: [PATCH] cleaned up --- lottery_data_scraper/texas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lottery_data_scraper/texas.py b/lottery_data_scraper/texas.py index 41fe334..641f1ad 100644 --- a/lottery_data_scraper/texas.py +++ b/lottery_data_scraper/texas.py @@ -86,7 +86,7 @@ def parse_game(url, html): table = soup.find("table") df = pd.read_html(str(table))[0] df = df.replace("---", 0) - df.iloc[:, 0] = df.iloc[:, 0].str.replace("$", "", regex=False) # noqa: E231 + df.iloc[:, 0] = df.iloc[:, 0].str.replace("$", "") # noqa: E231 prizes = [] for prize, total, claimed in [list(r[1]) for r in df.iterrows()]: match = re.match(r"\$?([\d,]+).*wk.*", prize)