<jupyter_start><jupyter_text>01_2.Formula 1 Qualifying Data Collection<jupyter_code>import warnings
warnings.filterwarnings("ignore")
import time
start = time.time()
import pandas as pd
import numpy as np
from selenium import webdriver
import requests
import bs4
from bs4 import BeautifulSoup
import time
qualifying_results = pd.read_csv('./data/qualifying.csv')
print(qualifying_results.shape)
len(qualifying_results)
qualifying_results.head()
qualifying_results.tail()<jupyter_output><empty_output><jupyter_text>Feature Distributions<jupyter_code>qualifying_results.hist()<jupyter_output><empty_output><jupyter_text>Feature-Feature Relationships<jupyter_code>from pandas.plotting import scatter_matrix
scatter_matrix(qualifying_results, alpha=0.2, figsize=(30, 30), diagonal='kde')
end = time.time()
import datetime
str(datetime.timedelta(seconds=(end - start)))
print(str(end - start)+" seconds")<jupyter_output>12.305399894714355 seconds
{'fraction_non_alphanumeric': 0.10201912858660998, 'fraction_numerical': 0.030818278427205102, 'mean_word_length': 10.214285714285714, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '29956', 'license': 'UPL-1.0', 'n_tokens_mistral': 327, 'n_tokens_neox': 305, 'n_words': 59, 'path': 'beginners/01_2.Qualifying_Data_Collection.ipynb', 'repo_name': 'MKulfan/redbull-analytics-hol', 'size': '941'}