Problem / Challenge | Solution / Workaround |
---|---|
No Python installed after hardware upgrade | Downloaded and installed the latest stable Python distribution, ensuring the “Add Python to PATH” option was selected during installation. |
Old virtual environment incompatible or missing | Deleted the previous .venv folder and created a new virtual environment using python -m venv .venv . |
No admin rights for installations | Used a virtual environment, which allows package installations in u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import seaborn as sns | |
import matplotlib.pylab as plt | |
import pandas as pd | |
import datetime | |
import warnings | |
warnings.filterwarnings('ignore') | |
#Update your file from: | |
#https://www.data.gouv.fr/fr/datasets/donnees-relatives-aux-resultats-des-tests-virologiques-covid-19/#_ |