Python functions and classes for Customer Analytics at the Rady School of Management (RSM), University of California, San Diego (UCSD)
If you have python and pip3 install you can use the below to install the latest version of pyrsm
:
pip3 install --user 'pyrsm>=0.8.1'
or
conda install 'pyrsm>=0.8.1'
The examples above are (mostly) connected to the example data and analyses initially created for the family of Radiant R packages. See https://radiant-rstats.github.io/docs/index.html for more details
- Pandas cheat sheet
- Pandas vs R
- Pandas vs R
- Pandas vs R
- Split-Appy-Combine in Pandas
- Split-Appy-Combine in Pandas
- "assign" in Pandas
- Condition count
value_counts
in Pandas- Convert column to string or categorical:
df["zipcode"] = df.zipcode.astype(str)
df["zipcode"] = df.zipcode.astype('category')
- Python for everyone (https://www.py4e.com)
- Scientific computing with Python (https://www.freecodecamp.org/learn/scientific-computing-with-python/)
- Data analysis with Python (https://www.freecodecamp.org/learn/data-analysis-with-python/)