uz
Feedback
Python for Data Analysts

Python for Data Analysts

Kanalga Telegramโ€™da oโ€˜tish

Find top Python resources from global universities, cool projects, and learning materials for data analytics. For promotions: @coderfun Useful links: heylink.me/DataAnalytics

Ko'proq ko'rsatish

๐Ÿ“ˆ Telegram kanali Python for Data Analysts analitikasi

Python for Data Analysts (@pythonanalyst) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 51 492 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 2 607-o'rinni va Hindiston mintaqasida 7 356-o'rinni egallagan.

๐Ÿ“Š Auditoriya koโ€˜rsatkichlari va dinamika

ะฝะตะฒั–ะดะพะผะพ sanasidan buyon loyiha tez oโ€˜sib, 51 492 obunachiga ega boโ€˜ldi.

08 Iyun, 2026 dagi oxirgi maโ€™lumotlarga koโ€˜ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni 204 ga, soโ€˜nggi 24 soatda esa -16 ga oโ€˜zgardi va umumiy qamrov yuqori darajada qolmoqda.

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya oโ€˜rtacha 5.19% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining N/A% ini tashkil etuvchi reaksiyalarni toโ€˜playdi.
  • Post qamrovi: Har bir post oโ€˜rtacha 2 670 marta koโ€˜riladi; birinchi sutkada odatda 0 ta koโ€˜rish yigโ€˜iladi.
  • Reaksiyalar va oโ€˜zaro taโ€™sir: Auditoriya faol: har bir postga oโ€˜rtacha 9 ta reaksiya keladi.
  • Tematik yoโ€˜nalishlar: Kontent visualization, panda, analyst, sql, analytic kabi asosiy mavzularga jamlangan.

๐Ÿ“ Tavsif va kontent siyosati

Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida taโ€™riflaydi:
โ€œFind top Python resources from global universities, cool projects, and learning materials for data analytics. For promotions: @coderfun Useful links: heylink.me/DataAnalyticsโ€

Yuqori yangilanish chastotasi (oxirgi maโ€™lumot 09 Iyun, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli boโ€˜lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim taโ€™sir nuqtasiga aylantirishini koโ€˜rsatadi.

51 492
Obunachilar
-1624 soatlar
+447 kunlar
+20430 kunlar
Postlar arxiv
+5
import_data.pdf1.35 KB

Useful Python for data science cheat sheets ๐Ÿ‘‡

5 key Python Libraries/ Concepts that are particularly important for Data Analysts 1. Pandas: Pandas is a powerful library for data manipulation and analysis in Python. It provides data structures like DataFrames and Series that make it easy to work with structured data. Pandas offers functions for reading and writing data, cleaning and transforming data, and performing data analysis tasks like filtering, grouping, and aggregating. 2. NumPy: NumPy is a fundamental package for scientific computing in Python. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently. NumPy is often used in conjunction with Pandas for numerical computations and data manipulation. 3. Matplotlib and Seaborn: Matplotlib is a popular plotting library in Python that allows you to create a wide variety of static, interactive, and animated visualizations. Seaborn is built on top of Matplotlib and provides a higher-level interface for creating attractive and informative statistical graphics. These libraries are essential for data visualization in data analysis projects. 4. Scikit-learn: Scikit-learn is a machine learning library in Python that provides simple and efficient tools for data mining and data analysis tasks. It includes a wide range of algorithms for classification, regression, clustering, dimensionality reduction, and more. Scikit-learn also offers tools for model evaluation, hyperparameter tuning, and model selection. 5. Data Cleaning and Preprocessing: Data cleaning and preprocessing are crucial steps in any data analysis project. Python offers libraries like Pandas and NumPy for handling missing values, removing duplicates, standardizing data types, scaling numerical features, encoding categorical variables, and more. Understanding how to clean and preprocess data effectively is essential for accurate analysis and modeling. By mastering these Python concepts and libraries, data analysts can efficiently manipulate and analyze data, create insightful visualizations, apply machine learning techniques, and derive valuable insights from their datasets.

Complete Python topics required for the Data Engineer role: https://t.me/sql_engineer/70

How to master Python from scratch๐Ÿš€ 1. Setup and Basics ๐Ÿ - Install Python ๐Ÿ–ฅ๏ธ: Download Python and set it up. - Hello, World! ๐ŸŒ: Write your first Hello World program. 2. Basic Syntax ๐Ÿ“œ - Variables and Data Types ๐Ÿ“Š: Learn about strings, integers, floats, and booleans. - Control Structures ๐Ÿ”„: Understand if-else statements, for loops, and while loops. - Functions ๐Ÿ› ๏ธ: Write reusable blocks of code. 3. Data Structures ๐Ÿ“‚ - Lists ๐Ÿ“‹: Manage collections of items. - Dictionaries ๐Ÿ“–: Store key-value pairs. - Tuples ๐Ÿ“ฆ: Work with immutable sequences. - Sets ๐Ÿ”ข: Handle collections of unique items. 4. Modules and Packages ๐Ÿ“ฆ - Standard Library ๐Ÿ“š: Explore built-in modules. - Third-Party Packages ๐ŸŒ: Install and use packages with pip. 5. File Handling ๐Ÿ“ - Read and Write Files ๐Ÿ“ - CSV and JSON ๐Ÿ“‘ 6. Object-Oriented Programming ๐Ÿงฉ - Classes and Objects ๐Ÿ›๏ธ - Inheritance and Polymorphism ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง 7. Web Development ๐ŸŒ - Flask ๐Ÿผ: Start with a micro web framework. - Django ๐Ÿฆ„: Dive into a full-fledged web framework. 8. Data Science and Machine Learning ๐Ÿง  - NumPy ๐Ÿ“Š: Numerical operations. - Pandas ๐Ÿผ: Data manipulation and analysis. - Matplotlib ๐Ÿ“ˆ and Seaborn ๐Ÿ“Š: Data visualization. - Scikit-learn ๐Ÿค–: Machine learning. 9. Automation and Scripting ๐Ÿค– - Automate Tasks ๐Ÿ› ๏ธ: Use Python to automate repetitive tasks. - APIs ๐ŸŒ: Interact with web services. 10. Testing and Debugging ๐Ÿž - Unit Testing ๐Ÿงช: Write tests for your code. - Debugging ๐Ÿ”: Learn to debug efficiently. 11. Advanced Topics ๐Ÿš€ - Concurrency and Parallelism ๐Ÿ•’ - Decorators ๐ŸŒ€ and Generators โš™๏ธ - Web Scraping ๐Ÿ•ธ๏ธ: Extract data from websites using BeautifulSoup and Scrapy. 12. Practice Projects ๐Ÿ’ก - Calculator ๐Ÿงฎ - To-Do List App ๐Ÿ“‹ - Weather App โ˜€๏ธ - Personal Blog ๐Ÿ“ 13. Community and Collaboration ๐Ÿค - Contribute to Open Source ๐ŸŒ - Join Coding Communities ๐Ÿ’ฌ - Participate in Hackathons ๐Ÿ† 14. Keep Learning and Improving ๐Ÿ“ˆ - Read Books ๐Ÿ“–: Like "Automate the Boring Stuff with Python". - Watch Tutorials ๐ŸŽฅ: Follow video courses and tutorials. - Solve Challenges ๐Ÿงฉ: On platforms like LeetCode, HackerRank, and CodeWars. 15. Teach and Share Knowledge ๐Ÿ“ข - Write Blogs โœ๏ธ - Create Video Tutorials ๐Ÿ“น - Mentor Others ๐Ÿ‘จโ€๐Ÿซ I have curated the best interview resources to crack Python Interviews ๐Ÿ‘‡๐Ÿ‘‡ https://topmate.io/coding/898340 Hope you'll like it Like this post if you need more resources like this ๐Ÿ‘โค๏ธ

Python Interview Questions for Data/Business Analysts in MNC: Question 1: Given a dataset in a CSV file, how would you read it into a Pandas DataFrame? And how would you handle missing values? Question 2: Describe the difference between a list, a tuple, and a dictionary in Python. Provide an example for each. Question 3: Imagine you are provided with two datasets, 'sales_data' and 'product_data', both in the form of Pandas DataFrames. How would you merge these datasets on a common column named 'ProductID'? Question 4: How would you handle duplicate rows in a Pandas DataFrame? Write a Python code snippet to demonstrate. Question 5: Describe the difference between '.iloc[] and '.loc[]' in the context of Pandas. Question 6: In Python's Matplotlib library, how would you plot a line chart to visualize monthly sales? Assume you have a list of months and a list of corresponding sales numbers. Question 7: How would you use Python to connect to a SQL database and fetch data into a Pandas DataFrame? Question 8: Explain the concept of list comprehensions in Python. Can you provide an example where it's useful for data analysis? Question 9: How would you reshape a long-format DataFrame to a wide format using Pandas? Explain with an example. Question 10: What are lambda functions in Python? How are they beneficial in data wrangling tasks? Question 11: Describe a scenario where you would use the 'groupby()' method in Pandas. How would you aggregate data after grouping? Question 12: You are provided with a Pandas DataFrame that contains a column with date strings. How would you convert this column to a datetime format? Additionally, how would you extract the month and year from these datetime objects? Question 13: Explain the purpose of the 'pivot_table' method in Pandas and describe a business scenario where it might be useful. Question 14: How would you handle large datasets that don't fit into memory? Are you familiar with Dask or any similar libraries? Question 15: In a dataset, you observe that some numerical columns are highly skewed. How can you normalize or transform these columns using Python? Python Interview Q&A: https://topmate.io/coding/898340 Like for more โค๏ธ

Writing Python Lists
Writing Python Lists

Python Pandas.pdf9.40 MB

๐ŸŽ“ Data Analytics Contest ๐Ÿš€ ๐Ÿ‘ฉโ€๐Ÿ’ป Who: Final/Third year students (B.Tech/B.Sc/B.E/BCA/MCA/M.Tech) ๐Ÿ“… Date: 22nd June 2024 ๐Ÿ•” Time: 5PM - 7PM Register for FREE Now: ๐Ÿ‘‡๐Ÿ‘‡ https://bit.ly/4bgh2Br Top performers get internship/job referrals from partner companies with additional prices upto 5000 rs Amazing opportunity for freshers

Python Cheat Sheet-1.pdf

How to get job as python fresher? 1. Get Your Python Fundamentals Strong You should have a clear understanding of Python syntax, statements, variables & operators, control structures, functions & modules, OOP concepts, exception handling, and various other concepts before going out for a Python interview. 2. Learn Python Frameworks As a beginner, youโ€™re recommended to start with Django as it is considered the standard framework for Python by many developers. An adequate amount of experience with frameworks will not only help you to dive deeper into the Python world but will also help you to stand out among other Python freshers. 3. Build Some Relevant Projects You can start it by building several minor projects such as Number guessing game, Hangman Game, Website Blocker, and many others. Also, you can opt to build few advanced-level projects once youโ€™ll learn several Python web frameworks and other trending technologies. @crackingthecodinginterview 4. Get Exposure to Trending Technologies Using Python. Python is being used with almost every latest tech trend whether it be Artificial Intelligence, Internet of Things (IOT), Cloud Computing, or any other. And getting exposure to these upcoming technologies using Python will not only make you industry-ready but will also give you an edge over others during a career opportunity. 5. Do an Internship & Grow Your Network. You need to connect with those professionals who are already working in the same industry in which you are aspiring to get into such as Data Science, Machine learning, Web Development, etc. Python Interview Q&A: https://topmate.io/coding/898340 Like for more โค๏ธ ENJOY LEARNING ๐Ÿ‘๐Ÿ‘

Here are 5 key Python libraries/ concepts that are particularly important for data analysts: 1. Pandas: Pandas is a powerful library for data manipulation and analysis in Python. It provides data structures like DataFrames and Series that make it easy to work with structured data. Pandas offers functions for reading and writing data, cleaning and transforming data, and performing data analysis tasks like filtering, grouping, and aggregating. 2. NumPy: NumPy is a fundamental package for scientific computing in Python. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently. NumPy is often used in conjunction with Pandas for numerical computations and data manipulation. 3. Matplotlib and Seaborn: Matplotlib is a popular plotting library in Python that allows you to create a wide variety of static, interactive, and animated visualizations. Seaborn is built on top of Matplotlib and provides a higher-level interface for creating attractive and informative statistical graphics. These libraries are essential for data visualization in data analysis projects. 4. Scikit-learn: Scikit-learn is a machine learning library in Python that provides simple and efficient tools for data mining and data analysis tasks. It includes a wide range of algorithms for classification, regression, clustering, dimensionality reduction, and more. Scikit-learn also offers tools for model evaluation, hyperparameter tuning, and model selection. 5. Data Cleaning and Preprocessing: Data cleaning and preprocessing are crucial steps in any data analysis project. Python offers libraries like Pandas and NumPy for handling missing values, removing duplicates, standardizing data types, scaling numerical features, encoding categorical variables, and more. Understanding how to clean and preprocess data effectively is essential for accurate analysis and modeling. By mastering these Python concepts and libraries, data analysts can efficiently manipulate and analyze data, create insightful visualizations, apply machine learning techniques, and derive valuable insights from their datasets. Credits: https://t.me/free4unow_backup ENJOY LEARNING ๐Ÿ‘๐Ÿ‘

Lists ๐Ÿ†š Tuples ๐Ÿ†š Dictionaries What's the difference? Lists are mutable. Tuples are immutable. Dictionaries are associative. When should you use each? Lists: โŸถ When you want to add or remove elements โŸถ When you want to sort elements โŸถ When you want to slice elements Tuples: โŸถ When you want a constant object โŸถ When you want to send multiple in a function โŸถ When you want to return multiple from a function Dictionaries: โŸถ When you want to map keys to values โŸถ When you want to loop over the keys โŸถ When you want to validate if key exists Now, pick your weapon of mass data analysis and become a Python pro!

Frequently asked Python practice questions and answers in Data Analyst Interview: 1.Temperature Conversion: Write a program that converts a given temperature from Celsius to Fahrenheit or from Fahrenheit to Celsius based on user input. temp = float(input('Enter the temperature: ')) unit = input('Enter the unit (C/F): ').upper() if unit == 'C': converted = (temp * 9/5) + 32 print(f'Temperature in Fahrenheit: {converted}') elif unit == 'F': converted = (temp - 32) * 5/9 print(f'Temperature in Celsius: {converted}') else: print('Invalid unit') 2.Multiplication Table: Write a program that prints the multiplication table of a given number using a while loop. num = int(input('Enter a number: ')) i = 1 while i <= 10: print(f'{num} x {i} = {num * i}') i += 1 3.Greatest of Three Numbers: Write a program that takes three numbers as input and prints the greatest of the three. num1 = float(input('Enter first number: ')) num2 = float(input('Enter second number: ')) num3 = float(input('Enter third number: ')) if num1 >= num2 and num1 >= num3: print(f'The greatest number is {num1}') elif num2 >= num1 and num2 >= num3: print(f'The greatest number is {num2}') else: print(f'The greatest number is {num3}') 4.Sum of Even Numbers: Write a program that calculates the sum of all even numbers between 1 and a given number using a while loop. num = int(input('Enter a number: ')) total = 0 i = 2 while i <= num: total += i i += 2 print(f'The sum of even numbers up to {num} is {total}') 5.Check Armstrong Number: Write a program that checks if a given number is an Armstrong number. num = int(input('Enter a number: ')) sum_of_digits = 0 original_num = num while num > 0: digit = num % 10 sum_of_digits += digit ** 3 num //= 10 if sum_of_digits == original_num: print(f'{original_num} is an Armstrong number') else: print(f'{original_num} is not an Armstrong number') 6.Reverse a Number: Write a program that reverses the digits of a given number using a while loop. num = int(input('Enter a number: ')) reversed_num = 0 while num > 0: digit = num % 10 reversed_num = reversed_num * 10 + digit num //= 10 print(f'The reversed number is {reversed_num}') 7.Count Vowels and Consonants: Write a program that counts the number of vowels and consonants in a given string. string = input('Enter a string: ').lower() vowels = 'aeiou' vowel_count = 0 consonant_count = 0 for char in string: if char.isalpha(): if char in vowels: vowel_count += 1 else: consonant_count += 1 print(f'Number of vowels: {vowel_count}') print(f'Number of consonants: {consonant_count}')

These 6 videos will help you to get the product knowledge and case study solving skill ๐Ÿ‘‡๐Ÿ‘‡ https://t.me/caseinterviewscracked/18

๐ˆ๐ฆ๐ฉ๐จ๐ซ๐ญ๐ข๐ง๐  ๐๐ž๐œ๐ž๐ฌ๐ฌ๐š๐ซ๐ฒ ๐‹๐ข๐›๐ซ๐š๐ซ๐ข๐ž๐ฌ: import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns ๐‹๐จ๐š๐๐ข๐ง๐  ๐ญ๐ก๐ž ๐ƒ๐š๐ญ๐š๐ฌ๐ž๐ญ: df = pd.read_csv('your_dataset.csv') ๐ˆ๐ง๐ข๐ญ๐ข๐š๐ฅ ๐ƒ๐š๐ญ๐š ๐ˆ๐ง๐ฌ๐ฉ๐ž๐œ๐ญ๐ข๐จ๐ง: 1- View the first few rows: df.head() 2- Summary of the dataset: df.info() 3- Statistical summary: df.describe() ๐‡๐š๐ง๐๐ฅ๐ข๐ง๐  ๐Œ๐ข๐ฌ๐ฌ๐ข๐ง๐  ๐•๐š๐ฅ๐ฎ๐ž๐ฌ: 1- Identify missing values: df.isnull().sum() 2- Visualize missing values: sns.heatmap(df.isnull(), cbar=False, cmap='viridis') plt.show() ๐ƒ๐š๐ญ๐š ๐•๐ข๐ฌ๐ฎ๐š๐ฅ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง: 1- Histograms: df.hist(bins=30, figsize=(20, 15)) plt.show() 2 - Box plots: plt.figure(figsize=(10, 6)) sns.boxplot(data=df) plt.xticks(rotation=90) plt.show() 3- Pair plots: sns.pairplot(df) plt.show() 4- Correlation matrix and heatmap: correlation_matrix = df.corr() plt.figure(figsize=(12, 8)) sns.heatmap(correlation_matrix, annot=True, cmap='coolwarm') plt.show() ๐‚๐š๐ญ๐ž๐ ๐จ๐ซ๐ข๐œ๐š๐ฅ ๐ƒ๐š๐ญ๐š ๐€๐ง๐š๐ฅ๐ฒ๐ฌ๐ข๐ฌ: Count plots for categorical features: plt.figure(figsize=(10, 6)) sns.countplot(x='categorical_column', data=df) plt.show()

Exploratory Data Analysis (EDA) in Python involves a variety of techniques and tools to summarize, visualize, and understand the structure of a dataset. Here are some common EDA techniques using Python, along with relevant libraries:

๐’๐ญ๐ซ๐ข๐ง๐  ๐Œ๐š๐ง๐ข๐ฉ๐ฎ๐ฅ๐š๐ญ๐ข๐จ๐ง ๐ข๐ง ๐๐ฒ๐ญ๐ก๐จ๐ง: Strings in Python are immutable sequences of characters. ๐Ÿ- ๐ฅ๐ž๐ง(): ๐‘๐ž๐ญ๐ฎ๐ซ๐ง๐ฌ ๐ญ๐ก๐ž ๐ฅ๐ž๐ง๐ ๐ญ๐ก ๐จ๐Ÿ ๐ญ๐ก๐ž ๐ฌ๐ญ๐ซ๐ข๐ง๐ . my_string = "Hello" length = len(my_string)  # length will be 5 ๐Ÿ- ๐ฌ๐ญ๐ซ(): ๐‚๐จ๐ง๐ฏ๐ž๐ซ๐ญ๐ฌ ๐ง๐จ๐ง-๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐๐š๐ญ๐š ๐ญ๐ฒ๐ฉ๐ž๐ฌ ๐ข๐ง๐ญ๐จ ๐ฌ๐ญ๐ซ๐ข๐ง๐ ๐ฌ. num = 123 str_num = str(num)  # str_num will be "123" ๐Ÿ‘- ๐ฅ๐จ๐ฐ๐ž๐ซ() ๐š๐ง๐ ๐ฎ๐ฉ๐ฉ๐ž๐ซ(): ๐‚๐จ๐ง๐ฏ๐ž๐ซ๐ญ ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ญ๐จ ๐ฅ๐จ๐ฐ๐ž๐ซ๐œ๐š๐ฌ๐ž ๐จ๐ซ ๐ฎ๐ฉ๐ฉ๐ž๐ซ๐œ๐š๐ฌ๐ž. my_string = "Hello" lower_case = my_string.lower()  # lower_case will be "hello" upper_case = my_string.upper()  # upper_case will be "HELLO" ๐Ÿ’- ๐ฌ๐ญ๐ซ๐ข๐ฉ(): ๐‘๐ž๐ฆ๐จ๐ฏ๐ž๐ฌ ๐ฅ๐ž๐š๐๐ข๐ง๐  ๐š๐ง๐ ๐ญ๐ซ๐š๐ข๐ฅ๐ข๐ง๐  ๐ฐ๐ก๐ข๐ญ๐ž๐ฌ๐ฉ๐š๐œ๐ž ๐Ÿ๐ซ๐จ๐ฆ ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐ . my_string = "   Hello   " stripped_string = my_string.strip()  # stripped_string will be "Hello" ๐Ÿ“- ๐ฌ๐ฉ๐ฅ๐ข๐ญ(): ๐’๐ฉ๐ฅ๐ข๐ญ๐ฌ ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ข๐ง๐ญ๐จ ๐š ๐ฅ๐ข๐ฌ๐ญ ๐จ๐Ÿ ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐ ๐ฌ ๐›๐š๐ฌ๐ž๐ ๐จ๐ง ๐š ๐๐ž๐ฅ๐ข๐ฆ๐ข๐ญ๐ž๐ซ. my_string = "apple,banana,orange" fruits = my_string.split(",")  # fruits will be ["apple", "banana", "orange"] ๐Ÿ”- ๐ฃ๐จ๐ข๐ง(): ๐‰๐จ๐ข๐ง๐ฌ ๐ญ๐ก๐ž ๐ž๐ฅ๐ž๐ฆ๐ž๐ง๐ญ๐ฌ ๐จ๐Ÿ ๐š ๐ฅ๐ข๐ฌ๐ญ ๐ข๐ง๐ญ๐จ ๐š ๐ฌ๐ข๐ง๐ ๐ฅ๐ž ๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ฎ๐ฌ๐ข๐ง๐  ๐š ๐ฌ๐ฉ๐ž๐œ๐ข๐Ÿ๐ข๐ž๐ ๐ฌ๐ž๐ฉ๐š๐ซ๐š๐ญ๐จ๐ซ. fruits = ["apple", "banana", "orange"] my_string = ",".join(fruits)  # my_string will be "apple,banana,orange" ๐Ÿ•- ๐Ÿ๐ข๐ง๐() ๐š๐ง๐ ๐ข๐ง๐๐ž๐ฑ(): ๐’๐ž๐š๐ซ๐œ๐ก ๐Ÿ๐จ๐ซ ๐š ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ฐ๐ข๐ญ๐ก๐ข๐ง ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐š๐ง๐ ๐ซ๐ž๐ญ๐ฎ๐ซ๐ง ๐ข๐ญ๐ฌ ๐ข๐ง๐๐ž๐ฑ. my_string = "Hello, world!" index1 = my_string.find("world")  # index1 will be 7 index2 = my_string.index("world")  # index2 will also be 7 ๐Ÿ–- ๐ซ๐ž๐ฉ๐ฅ๐š๐œ๐ž(): ๐‘๐ž๐ฉ๐ฅ๐š๐œ๐ž๐ฌ ๐จ๐œ๐œ๐ฎ๐ซ๐ซ๐ž๐ง๐œ๐ž๐ฌ ๐จ๐Ÿ ๐š ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ฐ๐ข๐ญ๐ก ๐š๐ง๐จ๐ญ๐ก๐ž๐ซ ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐ . my_string = "Hello, world!" new_string = my_string.replace("world", "Python")  # new_string will be "Hello, Python!" ๐Ÿ—- ๐ฌ๐ญ๐š๐ซ๐ญ๐ฌ๐ฐ๐ข๐ญ๐ก() ๐š๐ง๐ ๐ž๐ง๐๐ฌ๐ฐ๐ข๐ญ๐ก(): ๐‚๐ก๐ž๐œ๐ค๐ฌ ๐ข๐Ÿ ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ฌ๐ญ๐š๐ซ๐ญ๐ฌ ๐จ๐ซ ๐ž๐ง๐๐ฌ ๐ฐ๐ข๐ญ๐ก ๐š ๐ฌ๐ฉ๐ž๐œ๐ข๐Ÿ๐ข๐ž๐ ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐ . my_string = "Hello, world!" starts_with_hello = my_string.startswith("Hello")  # True ends_with_world = my_string.endswith("world")  # False ๐Ÿ๐ŸŽ- ๐œ๐จ๐ฎ๐ง๐ญ(): ๐‚๐จ๐ฎ๐ง๐ญ๐ฌ ๐ญ๐ก๐ž ๐จ๐œ๐œ๐ฎ๐ซ๐ซ๐ž๐ง๐œ๐ž๐ฌ ๐จ๐Ÿ ๐š ๐ฌ๐ฎ๐›๐ฌ๐ญ๐ซ๐ข๐ง๐  ๐ข๐ง ๐š ๐ฌ๐ญ๐ซ๐ข๐ง๐ . my_string = "apple, banana, orange, banana" count = my_string.count("banana")  # count will be 2 Python Complete Notion Notes with 5 Practical Projects ๐Ÿ‘‡๐Ÿ‘‡ https://topmate.io/analyst/871454 Hope you'll like it Like this post if you need more resources like this ๐Ÿ‘โค๏ธ