https://github.com/ahuang11/ahhsumtips
Ahh-sum-tips (Awesome tips!)
https://github.com/ahuang11/ahhsumtips
Last synced: about 1 month ago
JSON representation
Ahh-sum-tips (Awesome tips!)
- Host: GitHub
- URL: https://github.com/ahuang11/ahhsumtips
- Owner: ahuang11
- Created: 2017-06-21T21:11:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T02:50:44.000Z (almost 7 years ago)
- Last Synced: 2025-01-24T19:12:08.013Z (3 months ago)
- Size: 1.05 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ahhsumtips - https://ahhsumtips.readthedocs.io/en/latest/
Ahh-sum-tips (Awesome tips!) - Press on one of the listed .ipynb files above to see elaborations of these summaries!linux_reference_sheet - a reference for linux commands that may be commonly used
references_not_variables - if you ever set something directly equal to something else without modifying it, the original item may change!
list_numpy_tidbits - np.where() needs np.array, not lists, to work properly. Also lists replicate while np.arrays actually perform multiplication with multiply
parentheses_ramble - parentheses do not define tuples; used to change order of operations and continue onto next line without backslashes, but may be misleading with unfinished parentheses!
python_conventions - incomplete guide to pep8 conventions used for styling in Python
CPR(COPYPASTERUN)_BID(BREAKITDOWN)_UT(UNITTEST) - example of the process I utilize when I program to gain insight on code to apply to personal data
datetime_array_methods - how to convert datetimes into strings, shift datetime arrays, and convert the arrays to specific types of time
debugging_validity - besides making scripts run successfully, data scientists should also ensure the results are valid by passing various validity tests such as the smell test!
linking_conditionals - parentheses matter when linking conditionals and symbols of conjunctions aren't interchangeable in np.where()!
apply_weighted_moving_filter - apply a weighted rolling sum across a dataframe
from_multi_index_df_to_pivoted - convert a multi-index dataframe to a pivoted dataframe; useful for creating heatmaps
filter_df_cols_by_pattern_regex - subselect dataframe columns by pattern regex (similar column names or wildcard)
using_pandas_datetimeindex - using pd.DatetimeIndex to quickly resample, group, or locate data
pandas_converting_str_bool_cols - convert string boolean column to actual booleans in pandas
matplotlib_to_holoviews - mirror matplotlib functionality in holoviews
pandas_review_and_practice - many pandas operations examples and practice questions
using_pandas_datetime - replace datetime module with pandas