Skip to content

Instantly share code, notes, and snippets.

View grahamhindle's full-sized avatar

Graham Hindle grahamhindle

  • Switzerland
View GitHub Profile
@grahamhindle
grahamhindle / DA0101EN-Review-Model_Development.ipynb
Created November 12, 2019 11:57
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / clean_df.csv
Created November 10, 2019 07:03
Created on Cognitive Class Labs
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 31 columns, instead of 5 in line 4.
,symboling,normalized-losses,make,num-of-doors,body-style,drive-wheels,engine-location,wheel-base,length,width,height,curb-weight,engine-type,num-of-cylinders,engine-size,fuel-system,bore,stroke,compression-ratio,horsepower,peak-rpm,city-mpg,price,city-L/100km,highway-L/100km,horsepower-binned,fuel-type-diesel,fuel-type-gas,aspiration-std,aspiration-turbo
0,3,122,alfa-romero,two,convertible,rwd,front,88.6,0.8111484863046613,0.8902777777777777,0.8160535117056856,2548,dohc,four,130,mpfi,3.47,2.68,9.0,111,5000.0,21,13495.0,11.19047619047619,8.703703703703704,Low,0,1,1,0
1,3,122,alfa-romero,two,convertible,rwd,front,88.6,0.8111484863046613,0.8902777777777777,0.8160535117056856,2548,dohc,four,130,mpfi,3.47,2.68,9.0,111,5000.0,21,16500.0,11.19047619047619,8.703703703703704,Low,0,1,1,0
2,1,122,alfa-romero,two,hatchback,rwd,front,94.5,0.8226814031715521,0.9097222222222222,0.8762541806020067,2823,ohcv,six,152,mpfi,2.68,3.47,9.0,154,5000.0,19,16500.0,12.368421052631579,9.038461538461538,Medium,0,1,1,0
3,2,164,audi,four
@grahamhindle
grahamhindle / DA0101EN-Review-Data_Wrangling-py-v4pp.ipynb
Created November 10, 2019 07:03
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / DA0101EN-Review-Introduction.ipynb
Created November 9, 2019 19:05
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / PY0101EN-5-2-Numpy2D.ipynb
Created November 8, 2019 18:26
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / PY0101EN-4.3_notebook_quizz_pandas.ipynb
Created November 8, 2019 07:32
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / PY0101EN-4-2-WriteFile.ipynb
Created November 8, 2019 07:26
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / PY0101EN-4-1-ReadFile.ipynb
Created November 8, 2019 07:06
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@grahamhindle
grahamhindle / PY0101EN-3-4-Classes.ipynb
Created November 8, 2019 06:26
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.