Maho Takahashi
Linguistics PhD
research
CV
code
mtakahas[at]ucsd[dot]edu
Google Scholar
LinkedIn
Github
python code snippets
How to find and deal with NaN values
Different ways to subset rows and columns
How to reorder rows and columns
How to reformat and rename values in a column
How to assign subject IDs
How to convert acceptability scores to z-scores
How to group and aggregate data
How to generate random datasets
How to create a new column
How to spread data with NaN values
How to check for counterbalancing
How to mutate the dataframe to add item mean and sd
How to group data and check values by group
How to apply a function to each row without iterrows()