python-socialsci icon indicating copy to clipboard operation
python-socialsci copied to clipboard

Data Analysis and Visualization with Python for Social Scientists

Results 30 python-socialsci issues
Sort by recently updated
recently updated
newest added

:robot: This is an automated build Update Workflows from sandpaper version 0.11.15 -> 0.16.2 - Auto-generated by [create-pull-request][1] on 2024-02-27T00:20+00:00 [1]: https://github.com/carpentries/create-pull-request/tree/main

type: template and tools

Remove a trailing slash that breaks a link.

The Carpentries recently updated their Slack domain URL and invite app URL. This PR updates the links to match the new domains.

The Contributing Guide, `CONTRIBUTING.md`, contains two links with URLs that should be updated: 1. the _How to Contribute to an Open Source Project on GitHub_ link leads to a 404...

Fix up typos, grammar and improve clarity for lessons 1, 2, and 4. Replace function to calculate the volume of a cube with a function more relevant to Social Sciences.

This Issue is about this section of a course: https://datacarpentry.org/python-socialsci/08-Pandas/index.html In detail: When importing a csv-file with this function, it is necessary to ensure, that the csv file is encoded...

The Matplotlib lesson is outdated (not the section on pandas plotting API). The official recommendation is to use the object-oriented API; e.g. see this [basic official tutorial](https://matplotlib.org/stable/tutorials/introductory/usage.html#sphx-glr-tutorials-introductory-usage-py). Since the matplotlib...

I think method chaining should be introduced, either after the [aggregation](https://github.com/datacarpentry/python-socialsci/blob/gh-pages/_episodes/10-aggregations.md) or [join](https://github.com/datacarpentry/python-socialsci/blob/gh-pages/_episodes/11-joins.md) episodes. It's a very effective practice to organise pandas code, leads to very clear logical flow, and...

There should be a short but dedicated discussion warning about setting a value on copies: `df[“a”][“b”] = 5`. This is one of the most common mistakes made by beginners, and...

This is about the episode on [selecting data](https://github.com/datacarpentry/python-socialsci/blob/gh-pages/_episodes/09-extracting-data.md) - Using [boolean arrays for indexing](https://pandas.pydata.org/docs/user_guide/indexing.html#boolean-indexing) is a foundational concept. It is also used many times later in the material (e.g. filtering/selecting...