filmov
tv
Python 3 Basics # 3.3 : Python Find and Replace Method
Показать описание
Python 3 Basics # 3.3 : Python Find and Replace Method
Python Find Method
Find Method
Python Find Method is used to get the starting position of a character or word in a string.
The find() method finds the first occurrence of the specified value and returns -1 is the value is not found
1. Value is the required paramter
2. start and end parameter are optional
Python Replace Method
The replace() method replaces a specified string with another specified string.
old value is the required parameter to search the string
new value is the required parameter to replace the old value with the new value
count is the optional parameter and it specfies how many times we want to replace the existing old value with the new value. Default is to replace all the occurences
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 Interview Questions on Machine Learning, Artificial Intelligence, Python Pandas and Python Basics
19. Jupyter Notebook Operations
20. Logistic Regresion in Machine Learning, Data Science
21. Learn Microsoft Excel Basics
Python Find Method
Find Method
Python Find Method is used to get the starting position of a character or word in a string.
The find() method finds the first occurrence of the specified value and returns -1 is the value is not found
1. Value is the required paramter
2. start and end parameter are optional
Python Replace Method
The replace() method replaces a specified string with another specified string.
old value is the required parameter to search the string
new value is the required parameter to replace the old value with the new value
count is the optional parameter and it specfies how many times we want to replace the existing old value with the new value. Default is to replace all the occurences
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 Interview Questions on Machine Learning, Artificial Intelligence, Python Pandas and Python Basics
19. Jupyter Notebook Operations
20. Logistic Regresion in Machine Learning, Data Science
21. Learn Microsoft Excel Basics
Комментарии