Created
July 6, 2023 17:04
-
-
Save 5Spaak/f2111fcb73f70cc1a2d901b89687a01f to your computer and use it in GitHub Desktop.
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
| # The link of our dataset | |
| medical_charges_url = 'https://raw.githubusercontent.com/JovianML/opendatasets/master/data/medical-charges.csv' | |
| # The urlretrieve function to put data in 'medical.csv' format | |
| urlretrieve(medical_charges_url, 'medical.csv') | |
| # Here, we're using pd.read_csv function to pull or read our data | |
| medical_df = pd.read_csv('medical.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment