How to write comments in python | Single Line Comment | Multiline Comment | Docstring - P2.1

Pubblicato il: 01 gennaio 1970
sul canale di: technologyCult
29,775
203

#PythonComments #CommentsinPython #technologycult #docstring

Single Line Comment
It might be present above the code or with inline code
Multi Line Comment
It will have # character in everyline of the comment

DocString Comment
Documentation string that are written within single or double quotes
and that act as comments

Diff between DocString and comment
Docstring is not omitted by the python interpreter while comments is
omitted by the interpreter.
Docstring is basically used for documentation. In some of the methods when we click
it will show the documentation.

It is a good practice to create documentation for ourself and for the future use
by other developers.

All Playlist of this youtube channel
====================================

1. Data Preprocessing in Machine Learning
   • Data Preprocessing in Machine Learning| Li...  

2. Confusion Matrix in Machine Learning, ML, AI
   • Confusion Matrix in Machine Learning, ML, AI  

3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
   • Anaconda | Python Installation | Spyder | ...  

4. Cross Validation, Sampling, train test split in Machine Learning
   • Cross Validation | Sampling | train test s...  

5. Drop and Delete Operations in Python Pandas
   • Drop and Delete Operations in Python Pandas  

6. Matrices and Vectors with python
   • Matrices and Vectors with python  

7. Detect Outliers in Machine Learning
   • Detect Outliers in Machine Learning  

8. TimeSeries preprocessing in Machine Learning
   • TimeSeries preprocessing in Machine Learning  

9. Handling Missing Values in Machine Learning
   • Handling Missing Values in Machine Learning  

10. Dummy Encoding Encoding in Machine Learning
   • Label Encoding, One hot Encoding, Dummy En...  

11. Data Visualisation with Python, Seaborn, Matplotlib
   • Data Visualisation with Python, Matplotlib...  

12. Feature Scaling in Machine Learning
   • Feature Scaling in Machine Learning  

13. Python 3 basics for Beginner
   • Python | Python 3 Basics | Python for Begi...  

14. Statistics with Python
   • Statistics with Python  

15. Sklearn Scikit Learn Machine Learning
   • Sklearn Scikit Learn Machine Learning  

16. Python Pandas Dataframe Operations
   • Python Pandas Dataframe Operations  

17. Linear Regression, Supervised Machine Learning
   • Linear Regression | Supervised Machine Lea...  

18 Interiew Questions on Machine Learning, Artifiical Intelligence
   • Interview Question for Machine Learning, D...  

19. Jupyter Notebook Operations
   • Jupyter and Spyder Notebook Operations in ...  


In questa pagina del sito puoi guardare il video online How to write comments in python | Single Line Comment | Multiline Comment | Docstring - P2.1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato technologyCult 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 29,775 volte e gli è piaciuto 203 spettatori. Buona visione!