datatrail-jhu / python

A bonus course for DataTrail graduates who wish to learn python
https://datatrail-jhu.github.io/python/
Creative Commons Attribution 4.0 International
0 stars 2 forks source link

Intro to Python Chaper #10

Closed howardbaek closed 1 week ago

howardbaek commented 5 months ago

Purpose/implementation Section

What changes are being implemented in this Pull Request?

First draft of the "Intro to Python" chapter.

What was your approach?

I start with an introduction to Python, then touch on the main differences between R and Python, then talk about the major differences in Python for R users, which are mainly drawn from Primer on Python for R Users. Importantly, I briefly talk about OOP and classes, giving a small code snippet of a class in Python.

What GitHub issue does your pull request address?

This PR addresses https://github.com/datatrail-jhu/python/issues/2

Tell potential reviewers what kind of feedback you are soliciting.

Open to any feedback or comments!

New Content Checklist

github-actions[bot] commented 5 months ago

No broken urls! :tada: Comment updated at 2024-02-15 with changes from 276e4fb424b5a37be085e34e3eacffcdf027348b

github-actions[bot] commented 5 months ago

No spelling errors! :tada: Comment updated at 2024-07-09-18:11:36 with changes from 0d537dcfdc9e0b01037abf8f34c04099187969f5

howardbaek commented 5 months ago

This looks great! I've left a few specific comments inline. A few additional questions:

  • I couldn't see the two png files being referenced in the markdown. Should they be removed?
  • Maybe we can expand on the reason for using Python or when to stick with R?
howardbaek commented 5 months ago

NOTE to myself

To convert .Rmd to .md:

Get rid of the curly brackets around the python. Delete the R from .Rmd to make it a .md file Delete all knitr code chunks Replace the ottrpal image part with Till's syntax for including images.

To render locally: make "name_of_document" .ipynb.html

howardbaek commented 3 months ago

@tillahoffmann I've made more changes to 03-intro-to-python.md and committed that file. However, I'm not sure where these files came from:

Is it safe to delete these files?

tillahoffmann commented 3 months ago
cansavvy commented 3 months ago
  • Let's delete the .ipynb_checkpoints directory and add it to the .gitignore.
  • Let's delete the python.Rproj and add *.Rproj to the .gitignore.
  • Regarding the docs/03-intro-to-python.md, I'm not sure how that was created. Maybe @cansavvy has an idea?
  • Regarding the _bookdown_files, I'll also defer to @cansavvy.
github-actions[bot] commented 3 months ago

No broken url errors! :tada: Comment updated at 2024-07-09-18:10:33 with changes from bab84da18bea82025a99cf1d1393d7f0c4345514

howardbaek commented 3 months ago

Following changes have been made:

github-actions[bot] commented 1 week ago

Re-rendered previews from the latest commit:

Updated at 2024-07-09 with changes from 0d537dcfdc9e0b01037abf8f34c04099187969f5