software-carpentry
Here are 73 public repositories matching this topic...
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
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:
- Moving this exercise at the end of th
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%
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
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
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
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
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
-
Updated
Jun 16, 2020 - Jupyter Notebook
-
Updated
Jan 25, 2019 - Python
-
Updated
Dec 22, 2020 - Python
-
Updated
Jun 10, 2018 - Python
-
Updated
Jun 19, 2018 - Python
-
Updated
Apr 28, 2016 - HTML
-
Updated
Jan 5, 2021 - HTML
-
Updated
Oct 27, 2020 - Python
-
Updated
May 29, 2019 - Python
-
Updated
Aug 15, 2020 - JavaScript
-
Updated
Mar 4, 2019 - Python
-
Updated
Apr 16, 2021 - Python
-
Updated
Dec 5, 2018 - HTML
-
Updated
Jun 23, 2015 - HTML
-
Updated
Apr 12, 2019 - Python
-
Updated
Aug 20, 2020 - HTML
-
Updated
Aug 26, 2016 - Python
-
Updated
Dec 10, 2017 - HTML
-
Updated
May 18, 2017 - HTML
-
Updated
Dec 12, 2017 - Python
-
Updated
Dec 14, 2014 - Perl
Improve this page
Add a description, image, and links to the software-carpentry topic page so that developers can more easily learn about it.
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."
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