Open jacob-gg opened 2 years ago
Ch 1 edits - done.
Ch 2 edits - done.
Ch 3 edits - done. On first comment, I changed the sentence to "Each example below highlights one way per file type."
Thanks, Jacob!
Ch 4 edits - done.
Ch 5 edits - done. I took a crack at the comment for the names_glue argument, but feel free to completely re-write.
Ch 6 edits - done. I did not switch the order of the R code chunks in section 6.2 simply because I wasn't sure which chunks to switch. I also revised the definition of centering to "Centering refers to subtracting a constant from every value, such as the mean." I'm open to further edits on that.
Thanks again, Jacob!
Ch 7 edits - done!
Hey, all! I'm dropping some notes and possible edits here as I read through the book per Clay's 2022-01-04 email. I'm very much enjoying reading through everybody's material—and I'm learning a bunch as well!
I'm working chapter by chapter, so I'll update this issue as I make additional headway. Also: I'm including immediately below some notes about things we may want to make a decision about standardization-wise:
Standardization questions:
some_array = [1,2,3]
vs.some_array = [1, 2, 3]
pandas.DataFrame()
vs.pandas.DataFrame
arg = 1
vs.arg=1
Code
formatting for in-text uses of TRUE/FALSE (R) and True/False (Python)?warning = F
in the code chunk to suppress those in the rendered book?Chapter-by-chapter notes and typographic suggestions:
Format:
Chapter 1: (Notes last updated: 2022-01-12)
reference_to_function()
Chapter 2: (Notes last updated: 2022-01-14)
numpy.array()
function and the numpy package needs to…” —> “…declared using thenumpy.array()
function, and the numpy package needs to…”Chapter 3: (Notes last updated 2022-01-15)
Chapter 4: (Notes last updated 2022-01-17)
mtcars.info()
whereverbose = False
seems to currently print the table describing variables, although the text indicates that settingverbose = False
“excludes the table describing each column.” (I.e., the output whenverbose = False
seems to currently be the same as whenverbose = True
sample()
andrunif()
can be combined to sample sizes or approximate proportions”Chapter 5: (Notes last updated 2022-01-18)
names_glue
argument is cut off—my fault; will updatemerge()
executes an inner join”Chapter 6: (Notes last updated 2022-01-20)
groupby()
, also in pandas…” —> “Alternatively, thegroupby()
function, also in pandas…”drop = F
argument and (b) formula-notation aggregationsummarize()
is that it allows a user to…” —> “summarize()
makes it easy to…”Chapter 7: (Notes last updated 2022-01-26)
linewidth = 1
.code
format for thelinewidth
argumenthist()
defaults to…” —> “Thehist()
function defaults to…”plot.clf()
functionmethhod = 'jitter’
to the set of arguments…” —> “Addingmethod = 'jitter’
to the arguments…”(I'll add notes for additional chapters as I make my way through them. I hope everyone's 2022 is off to a fine start!)