Created
March 20, 2022 17:48
-
-
Save kshirsagarsiddharth/996c6ed6e5fd3091a85e0cb6f4397f32 to your computer and use it in GitHub Desktop.
This file contains 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
%%sql | |
results << SELECT | |
year, | |
price, | |
km_traveled, | |
tax, | |
enginesize, | |
km_per_liters, | |
mi.model, | |
transmission, | |
fuel_type | |
FROM models_with_companies mc | |
INNER JOIN model_info mi | |
ON mc.model_id = mi."index" | |
WHERE make = 'Chevrolet'; | |
* sqlite:///car_prediction_dataset.sqlite3 | |
Done. | |
Returning data to local variable results | |
# converting the results into a dataframe and dropping unimportant columns | |
df = results.DataFrame() | |
df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment