Skip to content
#

software-carpentry

Here are 73 public repositories matching this topic...

alouyakis
alouyakis commented Apr 19, 2019

The Unix Shell: Lesson 4. Pipes and Filters
Word count without flags is used to initially introduce the command and outputs three points of data - character, word, and line count. Then -l is added to show how line count is attained. It would be helpful to also include wc -cwl to show that the output is the same as default without flags. This would help by teaching about default flags and also inc

iglpdc
iglpdc commented May 14, 2018

The first episode is more a description of "a" version control system, rather than of Git. I think that's useful as this is the first exposure of many learners to the concept. Also, the model based on diffs in not completely accurate for Git. A compromise to be both accurate and keep it simple could be to change the second objective to reflect this. So, what about?

Understand the basics
evezeyl
evezeyl commented Feb 9, 2020

NB: Good first issue label (cannot be added because not in contributor list)

Exercise Reading error Messages - Lesson "Error and Exceptions"
(http://swcarpentry.github.io/python-novice-inflammation/09-errors/index.html)

  • As dictionaries are not introduced previously in lesson (maybe a consequence of reducing the lesson) I suggest the following:
  1. Moving this exercise at the end of th
mstrimas
mstrimas commented Jan 12, 2020

This challenge asks student to print an informative message if there are any records in gapminder for the year 2002. Two solutions are provided, one using any(gapminder$year == 2002) (note any() isn't introduced until later in that episode) and one much more complicated one involving counting the number of rows for the year 2002. It seems to me the only reasonable way to do this is with %in%

pschloss
pschloss commented Jun 13, 2016

Admittedly, I'm not a pythonista, but I wonder whether there would be value in using bash versions of the three python scripts. For whatever reason, I'm running into problems with getting python installed correctly on my Mac. Once I got it pointed in the right direct, I ran into problems with installing numpy. It's quickly becoming a tutorial on installing python rather than make :)

I suspect the

umnik20
umnik20 commented May 4, 2020

Dear Community,

There is a typo in the section titled "The StringsAsFactors argument" after the second block of code that demonstrates the use of the str() function. Right after the code boxes is written "We can see that the $Color and $State columns are factors and $Speed is a numeric column", but the box shows that the $Color column is a vector of strings.

Regards,

Rodolfo

jatonline
jatonline commented Apr 12, 2021

In recent (non-Carpentry) Python courses, we have come across learners that have experience with Python and using JupyterLab or Jupyter Notebooks, however are unaware that you can just run a Python script from the command line. We have observed that this has led to some confusion when they've been working with others who use script files.

I'm not for a second suggesting changing the way the les

cwant
cwant commented May 7, 2018

The Survey table has a field called quant that holds what type of reading was taken. The values in this column are rad, sal, and temp. There is no legend that explains what these mean on the page where the data is introduced (the selecting data chapter). Much later in the course it's mentioned that these mean 'radiation', 'salinity' and 'temperature', but I think it would also be helpful

mbdunn
mbdunn commented Jun 19, 2019

The True and False Statements exercise in the Making Choices lesson would be more clear with some else statements to display the results when the value is considered false.
For example:
if [ ]
disp('empty is true')
else
disp('empty array is false')
end

Also, when learning I found the use of "foo" everywhere in examples confusing and frustrating, using a word that means something to

Improve this page

Add a description, image, and links to the software-carpentry topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the software-carpentry topic, visit your repo's landing page and select "manage topics."

Learn more