SlideShare une entreprise Scribd logo
1  sur  34
Teaching Using the Jupyter
Ecosystem
Tony Hirst
tony.hirst@open.ac.uk
blog.ouseful.info
@psychemedia / github.com/psychemedia
Learn to Code For Data
Analysis
[Michel Wermelinger]
Learn to Code for Data Analysis
• Started as a 4-week 20-30h Futurelearn MOOC
–Basic Python 3 + function definitions – loops
–R-like pandas library for data analysis
–http://tiny.cc/lcda-ol
–Jupyter notebooks with Anaconda or cocalc.com
• Problems
–learners: time; installation; navigation; feedback
–us: software, sites and data change; assessing
Learn to Code for Data Analysis
Follows First Principles of Instruction http://tiny.cc/fpoi
• Problem-driven: weekly project; clean, merge, etc.
• ‘Authentic’: real open data from WHO, WU, WB, UN
• Demonstrate:
–we do analysis and introduce concepts as needed
–we show written up analysis (reproducible research)
• Apply: students work on exercise notebook in parallel
• Integrate: do a different analysis and share (show & tell)
TM351
Data management
and analysis
[Alistair Willis]
Context
• Not a programming module
– ie. we don’t teach python programming
– understanding of python necessary to engage with scientific python libraries
• expect appropriate competence for level 3 study
• Part of data science DA strand
Content
• Data lifecycle: Acquire, prepare, analyse, present
– Python techniques for acquiring and cleaning data
– DBs for data storage
– Some machine learning and statistical analyses
– Graph plotting with Matplotlib
Tools
• Python 3 language
• Postgresql, MongoDB databases
• Pandas, matplotlib (some scikit.learn) libraries
• Accessed through Jupyter notebooks
– significant teaching materials using notebooks
– including TMA01 submission
Tool support
Tony Hirst
REQUIRED
NOT
REQUIRED
DESIRABLE
Python distribution includes
non-standard Python package,
or student can install it
themselves
Python process can call out to
third party APIs using http
Jupyter notebook customised with OU
branding
Notebook server seeded with course
notebooks
Jupyter notebook server includes “docx”
export extension and functionality
Saved kernel state
Persisted student files
TM351 VM – Some Notebook Customisations
ArchitecturalPrinciples(1)
Thebelab
Roll Your Own API
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter
Dev8d jupyter

Contenu connexe

Similaire à Dev8d jupyter

Discovery event stuart lee (the humanities researcher)
Discovery event stuart lee (the humanities researcher)Discovery event stuart lee (the humanities researcher)
Discovery event stuart lee (the humanities researcher)
RDTF-Discovery
 
Wollongong 090408232854-phpapp01
Wollongong 090408232854-phpapp01Wollongong 090408232854-phpapp01
Wollongong 090408232854-phpapp01
Neo Ntlhokoa
 

Similaire à Dev8d jupyter (20)

LAK15 panel - European Perspectives
 LAK15 panel - European Perspectives LAK15 panel - European Perspectives
LAK15 panel - European Perspectives
 
Data-X-v3.1
Data-X-v3.1Data-X-v3.1
Data-X-v3.1
 
Profiling vs. Time vs. Content: What does Matter for Top-k Publication Recomm...
Profiling vs. Time vs. Content: What does Matter for Top-k Publication Recomm...Profiling vs. Time vs. Content: What does Matter for Top-k Publication Recomm...
Profiling vs. Time vs. Content: What does Matter for Top-k Publication Recomm...
 
Learn to Code for Data Analysis
Learn to Code for Data AnalysisLearn to Code for Data Analysis
Learn to Code for Data Analysis
 
Social Media Crawling & Mining Seminar
Social Media Crawling & Mining Seminar Social Media Crawling & Mining Seminar
Social Media Crawling & Mining Seminar
 
Learning Resource Design
Learning Resource DesignLearning Resource Design
Learning Resource Design
 
The Economics of Data Sharing
The Economics of Data SharingThe Economics of Data Sharing
The Economics of Data Sharing
 
Five Thoughts on Staying Sharp and Relevant (UK)
Five Thoughts on Staying Sharp and Relevant (UK)Five Thoughts on Staying Sharp and Relevant (UK)
Five Thoughts on Staying Sharp and Relevant (UK)
 
Resonance Introduction at SacPy
Resonance Introduction at SacPyResonance Introduction at SacPy
Resonance Introduction at SacPy
 
Discovery event stuart lee (the humanities researcher)
Discovery event stuart lee (the humanities researcher)Discovery event stuart lee (the humanities researcher)
Discovery event stuart lee (the humanities researcher)
 
Computational Thinking and Acting: Future Technologies for Future Generations
Computational Thinking and Acting: Future Technologies for Future GenerationsComputational Thinking and Acting: Future Technologies for Future Generations
Computational Thinking and Acting: Future Technologies for Future Generations
 
Digging into assessment data: Tips, tricks, and tools of the trade.
Digging into assessment data: Tips, tricks, and tools of the trade.Digging into assessment data: Tips, tricks, and tools of the trade.
Digging into assessment data: Tips, tricks, and tools of the trade.
 
Wollongong 090408232854-phpapp01
Wollongong 090408232854-phpapp01Wollongong 090408232854-phpapp01
Wollongong 090408232854-phpapp01
 
A Case Study Of An Open Online Course
A Case Study Of An Open Online CourseA Case Study Of An Open Online Course
A Case Study Of An Open Online Course
 
Research groups and teaching experiences at Computer Science Faculty (UNED)
Research groups and teaching experiences at Computer Science Faculty (UNED)Research groups and teaching experiences at Computer Science Faculty (UNED)
Research groups and teaching experiences at Computer Science Faculty (UNED)
 
Science communication-graduate
Science communication-graduateScience communication-graduate
Science communication-graduate
 
Improving Integrity, Transparency, and Reproducibility Through Connection of ...
Improving Integrity, Transparency, and Reproducibility Through Connection of ...Improving Integrity, Transparency, and Reproducibility Through Connection of ...
Improving Integrity, Transparency, and Reproducibility Through Connection of ...
 
Iczm project blended_education 13.09.2016
Iczm project blended_education 13.09.2016Iczm project blended_education 13.09.2016
Iczm project blended_education 13.09.2016
 
Learning Analytics – Opportunities for ISO/IEC JTC 1/SC36 standardisation
Learning Analytics – Opportunities for ISO/IEC JTC 1/SC36 standardisationLearning Analytics – Opportunities for ISO/IEC JTC 1/SC36 standardisation
Learning Analytics – Opportunities for ISO/IEC JTC 1/SC36 standardisation
 
Community and Code: Lessons from NESCent Hackathons
Community and Code: Lessons from NESCent HackathonsCommunity and Code: Lessons from NESCent Hackathons
Community and Code: Lessons from NESCent Hackathons
 

Plus de Tony Hirst

Inspiring content - You Don't Need Big Data to Tell Good Data Stories
Inspiring content - You Don't Need Big Data to Tell Good Data Stories Inspiring content - You Don't Need Big Data to Tell Good Data Stories
Inspiring content - You Don't Need Big Data to Tell Good Data Stories
Tony Hirst
 
Lincoln jun14datajournalism
Lincoln jun14datajournalismLincoln jun14datajournalism
Lincoln jun14datajournalism
Tony Hirst
 
Lincoln Journalism Research Day - Data Journalism
Lincoln Journalism Research Day - Data JournalismLincoln Journalism Research Day - Data Journalism
Lincoln Journalism Research Day - Data Journalism
Tony Hirst
 

Plus de Tony Hirst (20)

15 in 20 research fiesta
15 in 20 research fiesta15 in 20 research fiesta
15 in 20 research fiesta
 
Ili 16 robot
Ili 16 robotIli 16 robot
Ili 16 robot
 
Jupyternotebooks ou.pptx
Jupyternotebooks ou.pptxJupyternotebooks ou.pptx
Jupyternotebooks ou.pptx
 
Virtual computing.pptx
Virtual computing.pptxVirtual computing.pptx
Virtual computing.pptx
 
ouseful-parlihacks
ouseful-parlihacksouseful-parlihacks
ouseful-parlihacks
 
Gors appropriate
Gors appropriateGors appropriate
Gors appropriate
 
Gors appropriate
Gors appropriateGors appropriate
Gors appropriate
 
Robotlab jupyter
Robotlab   jupyterRobotlab   jupyter
Robotlab jupyter
 
Fco open data in half day th-v2
Fco open data in half day  th-v2Fco open data in half day  th-v2
Fco open data in half day th-v2
 
Notes on the Future - ILI2015 Workshop
Notes on the Future - ILI2015 WorkshopNotes on the Future - ILI2015 Workshop
Notes on the Future - ILI2015 Workshop
 
Community Journalism Conf - hyperlocal data wire
Community Journalism Conf - hyperlocal data wireCommunity Journalism Conf - hyperlocal data wire
Community Journalism Conf - hyperlocal data wire
 
Residential school 2015_robotics_interest
Residential school 2015_robotics_interestResidential school 2015_robotics_interest
Residential school 2015_robotics_interest
 
Data Mining - Separating Fact From Fiction - NetIKX
Data Mining - Separating Fact From Fiction - NetIKXData Mining - Separating Fact From Fiction - NetIKX
Data Mining - Separating Fact From Fiction - NetIKX
 
Week4
Week4Week4
Week4
 
A Quick Tour of OpenRefine
A Quick Tour of OpenRefineA Quick Tour of OpenRefine
A Quick Tour of OpenRefine
 
Conversations with data
Conversations with dataConversations with data
Conversations with data
 
Data reuse OU workshop bingo
Data reuse OU workshop bingoData reuse OU workshop bingo
Data reuse OU workshop bingo
 
Inspiring content - You Don't Need Big Data to Tell Good Data Stories
Inspiring content - You Don't Need Big Data to Tell Good Data Stories Inspiring content - You Don't Need Big Data to Tell Good Data Stories
Inspiring content - You Don't Need Big Data to Tell Good Data Stories
 
Lincoln jun14datajournalism
Lincoln jun14datajournalismLincoln jun14datajournalism
Lincoln jun14datajournalism
 
Lincoln Journalism Research Day - Data Journalism
Lincoln Journalism Research Day - Data JournalismLincoln Journalism Research Day - Data Journalism
Lincoln Journalism Research Day - Data Journalism
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 

Dev8d jupyter

  • 1. Teaching Using the Jupyter Ecosystem Tony Hirst tony.hirst@open.ac.uk blog.ouseful.info @psychemedia / github.com/psychemedia
  • 2. Learn to Code For Data Analysis [Michel Wermelinger]
  • 3. Learn to Code for Data Analysis • Started as a 4-week 20-30h Futurelearn MOOC –Basic Python 3 + function definitions – loops –R-like pandas library for data analysis –http://tiny.cc/lcda-ol –Jupyter notebooks with Anaconda or cocalc.com • Problems –learners: time; installation; navigation; feedback –us: software, sites and data change; assessing
  • 4. Learn to Code for Data Analysis Follows First Principles of Instruction http://tiny.cc/fpoi • Problem-driven: weekly project; clean, merge, etc. • ‘Authentic’: real open data from WHO, WU, WB, UN • Demonstrate: –we do analysis and introduce concepts as needed –we show written up analysis (reproducible research) • Apply: students work on exercise notebook in parallel • Integrate: do a different analysis and share (show & tell)
  • 5.
  • 7. Context • Not a programming module – ie. we don’t teach python programming – understanding of python necessary to engage with scientific python libraries • expect appropriate competence for level 3 study • Part of data science DA strand
  • 8. Content • Data lifecycle: Acquire, prepare, analyse, present – Python techniques for acquiring and cleaning data – DBs for data storage – Some machine learning and statistical analyses – Graph plotting with Matplotlib
  • 9. Tools • Python 3 language • Postgresql, MongoDB databases • Pandas, matplotlib (some scikit.learn) libraries • Accessed through Jupyter notebooks – significant teaching materials using notebooks – including TMA01 submission
  • 10.
  • 12. REQUIRED NOT REQUIRED DESIRABLE Python distribution includes non-standard Python package, or student can install it themselves Python process can call out to third party APIs using http Jupyter notebook customised with OU branding Notebook server seeded with course notebooks Jupyter notebook server includes “docx” export extension and functionality Saved kernel state Persisted student files
  • 13. TM351 VM – Some Notebook Customisations
  • 14.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.

Notes de l'éditeur

  1. Have to understand given library and implement function Have to include tests in screenshot
  2. The TM351 Jupyter notebook server includes several customisations, including: OU branding of notebooks; Custom exports: Microsoft Word .docx, ODSzip (a zip file containing the original notebook and the HTML rendering of it)
  3. The notebook source file (suffix .ipynb) is a JSON text file. It can be rendered to an HTML document using the `nbviewer` application. The notebook file can also be used interactively, as a GUI to a backend computational process that can execute and evaluate elements identified as “code” in the notebook, and return the results of code execution for display in the notebook. -- { ipynb[label=".ipynb\n(JSON text file)"]; nbviewer[label="nbviewer",color='yellow']; ipynb -> nbviewer; group { shape=line; html1[label="HTML",color='lightgreen']; nbviewer -> html1; } nbserver[label="nbserver",color='yellow']; ipynb -> nbserver; group { shape=line; py[label="Python process", color='lightblue']; dots[shape = "dots"]; html2[label="HTML",color='lightgreen']; nbserver -> dots, py, html2; nbserver -> dots[style='none']; } }