Skip to content

Latest commit

 

History

History
52 lines (50 loc) · 2.77 KB

wrkFlw_GoogleCoLab.md

File metadata and controls

52 lines (50 loc) · 2.77 KB

Workflow Google Colaboratory

Google has integrated its Co-Laboratory into Google Drive. An easy way to use Jupyter Notebook validateDates.ipynb available at public sharing wroACDHitp202003.

step comment
CoLab
navigate to Google Drive public sharing
select jupyter notebook and open context menu
choose Open with -> Google Colaboratory
CoLab
an enviorment spins up within a few seconds
CoLab
upload input files to CoLab or use Google Drive
I prefer slow way, download files locally
CoLab
unzip, select and drag them into Colab file section
CoLab
your environment is a temporary one, data are transient
CoLab
okay now you are set
go through notebook, walk your way down
CoLab
execute python scripts, push play button
CoLab
after script has been executed, a running number shows
you are allowed to jump back and execute code fragments in any order you see fit
CoLab
notice, console output (print and such) appear under code fragment
this output is stored in notebook a most liked feature by me
CoLab
result is stored into json file available in files section again
CoLab
download transient file
CoLab
open with your editor of choice, mine is vscode here on Windows
CoLab
output is machine friendly
CoLab
with extension Beautify it's easy to Format Document human friendly
CoLab
much better, isn't that cool
CoLab
search for suspicious
notice dates are supposed to be chronological
clearly 2 is off, here caused by text recognition error
CoLab
same for the second batch
CoLab
ui, date 2 is clearly incorrect