python-socialsci
python-socialsci copied to clipboard
Data Analysis and Visualization with Python for Social Scientists
using the dropna method with parameters eg (subset=[varlist]) can get the same result and introduces fewer separate functions
This makes the code excerpts more complete, but also makes it harder to read as an intstructor and unclear if it's the same dataset or if it's a continued example
iloc indexing by rows gets a little in the weeds, in general, indexing by column name is most used and filtering rows by criteria is more common, the amount of...
Some context on why to use random state would help (eg that it's for reproduciility)
At https://github.com/datacarpentry/python-socialsci/blob/893a11c4af665548614712fd7825c1cc49c579b1/_episodes/11-joins.md#L145 That figure is a table. Might https://commons.wikimedia.org/wiki/File:SQL_Joins.svg get the same info (and a bit more) across better?
Currently, the tutorial does not use print(...) to display dataframes. Instead, the tutorial instructs to type the data frame variable without print, which renders the dataframe Jupyter's tabular visual. Based...
## Lesson Release checklist **For each lesson release, copy this checklist to an issue and check off during preparation for release** Scheduled Freeze Date: 2018-04-27 Scheduled Release Date: 2018-04-30 Checklist...
### What is the problem? There is a format issue on the matplotlib, boxplot section. where python code block is not formatted correctly, says {:.language-python} underneath ### Location of problem...
### What is the problem? In [the setup instructions for Python](https://datacarpentry.org/python-socialsci/instructor/index.html#setup-instructions-for-python), two screenshots are visible in the Instructor View but not in the Learner View. ### Location of problem (optional)...
:robot: This is an automated build Update Workflows from sandpaper version 0.16.5 -> 0.16.6 - Auto-generated by [create-pull-request][1] on 2024-08-27T00:23+00:00 [1]: https://github.com/carpentries/create-pull-request/tree/main