Loading...

Responsible Data Science by Grant Fleming & Peter Bruce

Responsible Data Science by Grant Fleming & Peter Bruce

Author:Grant Fleming & Peter Bruce [Fleming, Grant & Bruce, Peter]
Language: eng
Format: epub
ISBN: 9781119741640
Publisher: Wiley
Published: 2021-05-04T00:00:00+00:00


Addressing Execution Variability with Functionalized Code

Functionalizing our code takes care of execution variability and is a generally good practice for any code that is meant to be either used multiple times or used by multiple different people. Wrapping the previous code within a function ensures that we always generate the appropriate result every time it is run, giving us an opportunity to control for stochastic and execution variability, should users decide to rerun code chunks. Given the same raw data, our functionalized code ought to always generate the same results regardless of how many times it is run.

data = preprocessor(df_raw)

Plus, writing and understanding one line of code is much simpler than trying to write and understand tens of lines.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
A treatise on carriages : comprehending coaches, chariots, phaetons, curricles, whiskies, &c. : together with their proper harness, in which the fair prices of every article are accurately stated by Felton William & Debrett John d. 1822(39538)
Whisky: Malt Whiskies of Scotland (Collins Little Books) by dominic roskrow(38529)
I'll be your drill, soldier by Crystal Rose(34471)
The Crystal Brucephalus by Craig Hinton(34429)
Brenda W. Clough by The Crystal Crown # also as B. W. Clough(34363)
IS 9260: Supplier's data sheet for crystallizer by Bureau of Indian Standards(34359)
Small Unmanned Fixed-wing Aircraft Design by unknow(31369)
What's Done in Darkness by Kayla Perrin(23779)
Роджър Уотърс by unknow(18709)
The Queen’s Tiara or Azouras Lazuli Tintomara. A tale of events immediately before, during and after the assassination of King Gustaf III of Sweden [övers. P Britten Austin] by Almqvist C.J.L. och Britten Austin Paul(18353)
Shot Through the Heart by Diane Benefiel(16895)
Shot Through the Heart by Mercy Celeste(16883)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(16860)
The Betrayed Series: Ultimate Omnibus Collection by Carolyn McCray(10481)
The Fifty Shades Trilogy & Grey by E L James(10467)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(10409)
Scorched Heart by Viola Grace(10197)
Scorched Earth by Nick Kyme(10186)
Able.Team.13.Scorched.Earth.1984 by Pendleton Don(10179)
The Subtle Art of Not Giving a F*ck by Mark Manson(10142)