| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| other:python:misc_by_jyp [2025/08/01 14:52] – [Extra tutorials] Added haversine jypeter | other:python:misc_by_jyp [2025/10/31 11:28] (current) – [Using a decorator to log function calls] jypeter |
|---|
| * [[https://blog.devgenius.io/data-profiling-in-python-common-ways-to-explore-your-data-part-2-396384522e91|More detailed information]] | * [[https://blog.devgenius.io/data-profiling-in-python-common-ways-to-explore-your-data-part-2-396384522e91|More detailed information]] |
| * [[https://blog.devgenius.io/data-cleansing-in-python-common-ways-to-clean-your-data-3459a256dd85|Table data cleaning]] | * [[https://blog.devgenius.io/data-cleansing-in-python-common-ways-to-clean-your-data-3459a256dd85|Table data cleaning]] |
| | * Stats stuff |
| | * [[https://medium.com/@tubelwj/python-outlier-detection-iqr-method-and-z-score-implementation-8e825edf4b32|Python Outlier Detection: IQR Method and Z-score Implementation]] |
| * [[https://medium.com/pythons-gurus/clean-code-in-python-good-vs-bad-practices-examples-2df344bddacc|Clean Code in Python: Good vs. Bad Practices Examples]] | * [[https://medium.com/pythons-gurus/clean-code-in-python-good-vs-bad-practices-examples-2df344bddacc|Clean Code in Python: Good vs. Bad Practices Examples]] |
| * [[https://peps.python.org/pep-0008/|PEP 8 – Style Guide for Python Code]] | * [[https://peps.python.org/pep-0008/|PEP 8 – Style Guide for Python Code]] |
| </code> | </code> |
| |
| | ===== Debugging... ===== |
| | |
| | Some resources that you can use in the unlikely case that <del>you</del> some AI has introduced <del>features</del> bugs in your code |
| | |
| | ==== Built-in tools ==== |
| | |
| | Read the documentation of: |
| | * [[https://docs.python.org/3/library/pdb.html|pdb, The Python Debugger]] |
| | * and the other built-in [[https://docs.python.org/3/library/debug.html|Debugging and Profiling tools]] |
| | |
| | ==== Using a decorator to log function calls ==== |
| | |
| | Check the example in [[https://blog.devgenius.io/my-lazy-secret-to-cleaner-code-python-decorators-d43d673a1ba2|My Lazy Secret to Cleaner Code: Python Decorators]] |
| | |
| | Note: more about [[#using_log_files_aka_logging|using log files]] |
| |
| /* | /* |