TGViewer
Data Science & Machine Learning Data Science & Machine Learning @datasciencefun ยท 77.8K subscribers
Post #4038 4.41K
Today, let's start with the first topic of Data Science Roadmap:

๐Ÿš€ Python Fundamentals (Variables Data Types)

๐Ÿ This is the foundation of data science.

๐Ÿ”น 1. What is Python?

Python is a simple and powerful programming language used for:
โœ… Data analysis
โœ… Machine learning
โœ… AI
โœ… Automation
โœ… Web development

๐Ÿ‘‰ Data scientists use Python because itโ€™s easy and has powerful libraries.

๐Ÿ”น 2. Variables in Python

Variables store data values.

โœ… Syntax
name = "Ajay"
age = 25
salary = 50000

๐Ÿ‘‰ No need to declare data type separately.

โœ… Rules:
โœ” Cannot start with numbers โ†’ โŒ 1name
โœ” Case-sensitive โ†’ age โ‰  Age
โœ” Use meaningful names

๐Ÿ”น 3. Basic Data Types (Very Important)
โœ… 1. Integer (int) โ€” Whole numbers
x = 10
โœ… 2. Float โ€” Decimal numbers
price = 99.99
โœ… 3. String (str) โ€” Text
name = "Data Scientist"
โœ… 4. Boolean (bool) โ€” True/False
is_passed = True

๐Ÿ”น 4. Check Data Type
x = 10
print(type(x))
Output: <class 'int'>

๐Ÿ”น 5. Simple Practice (Must Do)
Try running this:
name = "Rahul"
age = 23
height = 5.9
is_student = True
print(name)
print(age)
print(type(height))

๐ŸŽฏ Todayโ€™s Goal
โœ… Understand variables
โœ… Learn data types
โœ… Run Python code at least once

๐Ÿ‘‰ Use: Google Colab / Jupyter Notebook / VS Code.

Double Tap โ™ฅ๏ธ For More
  • โค 31
More from @datasciencefun
  1. Oct 15, 2026Post #4665
  2. Oct 15, 2026Post #4664
  3. Oct 15, 2026Post #4663
  4. Oct 15, 2026Post #4662
  5. Oct 13, 2026๐—ง๐—ข๐—ฃ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐—ง๐—ข ๐—•๐—ข๐—ข๐—ฆ๐—ง ๐—ฌ๐—ข๐—จ๐—ฅ ๐—ฆ๐—ž๐—œ๐—Ÿ๐—Ÿ๐—ฆ ๐—œ๐—ก ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! Explorโ€ฆ
  6. Oct 12, 2026Used when you want to perform calculations for each department. Simple rule: DISTINCT โ†’ Giโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’