Skip to content

Instantly share code, notes, and snippets.

View luisfbueno's full-sized avatar

Luis Felipe Bueno da Silva luisfbueno

View GitHub Profile
import pandas as pd
import requests
from bs4 import BeautifulSoup
import matplotlib.pyplot as plt
import seaborn as sns
# Método para extrair várias páginas de uma só vez
def scrape_stats(base_url, year_start, year_end):
years = range(year_start,year_end+1,1)