python-novice-inflammation icon indicating copy to clipboard operation
python-novice-inflammation copied to clipboard

Programming with Python

Results 143 python-novice-inflammation issues
Sort by recently updated
recently updated
newest added

In the [Testing & Documenting](https://swcarpentry.github.io/python-novice-inflammation/08-func/index.html#testing-and-documenting) section of episode 8, there is an allusion to the precision of some data types in Python, when testing the `offset_mean` function: > The mean...

https://github.com/swcarpentry/python-novice-inflammation/blob/gh-pages/_episodes/10-defensive.md#testing-assertions Regarding this code: > `assert int(element)` The solution states: > The second assertion checks that each value in the list can be turned into an integer. Input such as...

Hi everybody, I was just reading through [Episode 10](https://swcarpentry.github.io/python-novice-inflammation/10-defensive/index.html) and I think that it is really great that "Defensive Programming" and the idea of "Test-first Programming" are taught as one...

Hi everybody, While reading through [Episode 2](https://swcarpentry.github.io/python-novice-inflammation/02-numpy/index.html), I stumbled across the use of `numpy.delete`. From my experience, I have not a single examples where the usage of `numpy.delete` is justified...

At the beginning of [Python Fundamentals](https://github.com/swcarpentry/python-novice-inflammation/blob/44358e81575d20f22f3dfbaa3fb5768a668c1ba7/_episodes/01-intro.md), we start with `3+5*4`, an _expression statement_ that outputs `23`. We then introduce variables and assigning values with `weight_kg = 60`, an _assignment statement_...

Hi everybody, I was just reading through [Episode 2](https://swcarpentry.github.io/python-novice-inflammation/02-numpy/index.html) and was surprised about the appearance of `numpy.hstack` and `numpy.vstack`. Isn't it more useful to just introduce `numpy.concatenate` with an appropriate...

Hi everybody, I just read through the lesson material in [Episode 2](https://swcarpentry.github.io/python-novice-inflammation/02-numpy/index.html) and found that the "Data Type" box states that "A Numpy array contains one or more elements of...

I noticed in the Analyzing Data from Multiple Files section, the '*' and '?' were presented for use in pattern strings. However, an example of how the '?' can be...

### How could the content be improved? For those who are unfamiliar (or have only briefly touched) polynomials before, I wonder if a little more explanation would be useful, e.g....

type:enhancement

### How could the content be improved? There are a couple of exercises towards the end of lesson 04 (lists) that have solutions omitting list indices, but there is no...