User Tools

Site Tools


other:python:misc_by_jyp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:python:misc_by_jyp [2025/08/01 14:52] – [Extra tutorials] Added haversine jypeterother:python:misc_by_jyp [2025/10/31 11:28] (current) – [Using a decorator to log function calls] jypeter
Line 15: Line 15:
     * [[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]]
Line 823: Line 825:
 </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]]
  
 /* /*
other/python/misc_by_jyp.1754052750.txt.gz · Last modified: by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki