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

Показать описание
#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
2. Confusion Matrix in Machine Learning, ML, AI
3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
4. Cross Validation, Sampling, train test split in Machine Learning
5. Drop and Delete Operations in Python Pandas
6. Matrices and Vectors with python
7. Detect Outliers in Machine Learning
8. TimeSeries preprocessing in Machine Learning
9. Handling Missing Values in Machine Learning
10. Dummy Encoding Encoding in Machine Learning
11. Data Visualisation with Python, Seaborn, Matplotlib
12. Feature Scaling in Machine Learning
13. Python 3 basics for Beginner
14. Statistics with Python
15. Sklearn Scikit Learn Machine Learning
16. Python Pandas Dataframe Operations
17. Linear Regression, Supervised Machine Learning
18 Interiew Questions on Machine Learning, Artifiical Intelligence
19. Jupyter Notebook Operations
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
2. Confusion Matrix in Machine Learning, ML, AI
3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
4. Cross Validation, Sampling, train test split in Machine Learning
5. Drop and Delete Operations in Python Pandas
6. Matrices and Vectors with python
7. Detect Outliers in Machine Learning
8. TimeSeries preprocessing in Machine Learning
9. Handling Missing Values in Machine Learning
10. Dummy Encoding Encoding in Machine Learning
11. Data Visualisation with Python, Seaborn, Matplotlib
12. Feature Scaling in Machine Learning
13. Python 3 basics for Beginner
14. Statistics with Python
15. Sklearn Scikit Learn Machine Learning
16. Python Pandas Dataframe Operations
17. Linear Regression, Supervised Machine Learning
18 Interiew Questions on Machine Learning, Artifiical Intelligence
19. Jupyter Notebook Operations
Комментарии