Filter
Exclude
Time range
-
Near
🔥 Python String Methods Cheat Sheet Python provides many built-in methods to manipulate strings easily. ✅ Common String Methods Method - lower() Description - Converts to lowercase Example - "HELLO".lower() → 'hello' ----------------------------------------------- Method - upper() Description - Converts to uppercase Example - "hello".upper() → 'HELLO' ----------------------------------------------- Method - capitalize() Description - Capitalizes first letter Example - "hello world".capitalize() → 'Hello world' ----------------------------------------------- Method - title() Description - Capitalizes first letter of every word Example - "hello world".title() → 'Hello World' ----------------------------------------------- Method - strip() Description - Removes whitespace from both sides Example - " hello ".strip() → 'hello' ----------------------------------------------- Method - replace(old, new) Description - Replaces substring Example - "hello".replace("l", "w") → 'hewwo' ----------------------------------------------- Method - split(separator) Description - Splits string into list Example - "hello world".split(" ") → ['hello', 'world'] ----------------------------------------------- Method - join(iterable) Description - Joins list into string Example - " ".join(['hello', 'world']) → 'hello world' ----------------------------------------------- Method - startswith(sub) Description - Checks if string starts with substring Example - "hello".startswith("he") → True ----------------------------------------------- Method - endswith(sub) Description - Checks if string ends with substring Example - "hello".endswith("lo") → True ----------------------------------------------- Method - find(sub) Description - Returns index of substring (if found) Example - "hello".find("e") → 1 ----------------------------------------------- Method - count(sub) Description - Counts occurrences of substring Example - "hello".count("l") → 2 ----------------------------------------------- Method - isalpha() Description - Checks if all characters are alphabets Example - "hello".isalpha() → True ----------------------------------------------- Method - isdigit() Description - Checks if all characters are digits Example - "123".isdigit() → True ----------------------------------------------- Method - isalnum() Description - Checks if all characters are alphanumeric Example - "hello123".isalnum() → True ----------------------------------------------- Method - islower() Description - Checks if all characters are lowercase Example - "hello".islower() → True ----------------------------------------------- Method - isupper() Description - Checks if all characters are uppercase Example - "HELLO".isupper() → True ----------------------------------------------- 🎯 Bonus Methods Method - zfill(width) Fills string with zeros from the left -----------------------------------------------' Method - swapcase() Swaps uppercase to lowercase and vice versa ----------------------------------------------- Method - rjust(width) Right-align string with spaces ----------------------------------------------- Method - ljust(width) Left-align string with spaces ----------------------------------------------- #Python #PythonProgramming #PythonDeveloper #PythonTutorial #LearnPython #PythonCoding #PythonCourse #PythonForBeginners #PythonScripts #PythonProjects #PythonTips #PythonTricks #PythonFullCourse #PythonAutomation #PythonWebDevelopment #PythonBackend #PythonAPIs #PythonStringMethods #PythonOOP #PythonLibraries #PythonWithAI #PythonChatGPT #PythonNextjs #PythonMachineLearning #PythonDjango #PythonFlask #PythonAutomationScripts #PythonAIProjects #PythonInterviewQuestions #PythonIn60Seconds #PythonShorts #PythonTipsAndTricks #PythonCodingChallenge #PythonForBeginners #PythonFromScratch #PythonBasicToAdvanced #PythonStepByStep #PythonInHindi #PythonCodingJourney
36
12
58
2,030
1 Jan 2023
Wishing you a very happy New Year 2023 #PythonMachineLearning
373
I am very happy to got Internship certificate from BMW Infotech #internship #certification #pythonmachinelearning
2
17
Top Python Machine Learning Libraries to Explore in 2022! twtr.to/mgVy #pythonmachinelearning #libraries #cwebco

1
Well this is going on my curated list. Thank you, @teneikaask_you !!!! #DataFam #DS4A #Python #pythonmachinelearning
If your interested in Data anything, Python, Data Science, Machine Learning, Algorithms, Probability or Statistics... here's a great resource of links to tutorials, workshops, experts to follow and more! machinelearning.to/ #datascience #WomenWhoCode #BlackTechTwitter #tech
2
4
A python script that take a list of keywords as input and returns a list of websites that are ranking on search engine against thay keywords. We can control the number of results it displays. What you say? #Python #PythonForSEO #Python3 #pythonmachinelearning #pythoncode #SEO
4
20 Aug 2021
Day 55 in a row of googling how to add a conda environment to a Jupyter kernel #datascience #pythonmachinelearning
1
3
1
python学習のために言語処理100本ノック始めました! nlp100.github.io/ja/ #Python #pythonmachinelearning

6
🧠💻Top 8 #MachineLearning algorithms and their applications tutorials 💻🧠 [#DataScience #pythonlearning #pythonmachinelearning #python #100DaysOfCode #100DaysOfMLCode #100DaysOfPython #programming #AI #DeepLearning] A twitter 🧵 👇👇👇
1
14
11
Looking for some nice open source Python projects for inspiration/learning purposes. Any recommendations? #data #100DaysOfCode #AI #Python #pythonlearning #pythoncode #pythondeveloper #pythonhub #pythonmachinelearning #pythontraining #PyTorch #development #opensource #code
2
12
6
OpenAI Open Sources Microscope and the Lucid Library to Visualize Neurons in Deep Neural Networks - KDnuggets kdnuggets.com/2020/04/openai… #Python #100DaysOfCode #AI #data #DataScience #DEVCommunity #numpy #pythonmachinelearning

4
4