3. Python Basics for Data Work
Chala mitrano, aaj aapan Data Science labs sathi laganara Python — variables, lists, dicts, if/for, functions aani comprehensions — thodkat shikuya. Full language course nahi; fakt jo pandas aadhi madat karto to. Ghabru naka.
What you will learn in this chapter
- Variables, types and f-strings for ₹ reports
- Lists and dictionaries for small lookups
- if / for and simple functions
- List comprehensions used later with pandas
Fictional data
Blinkit / Amazon Now figures in this chapter are fictional sample data for learning only. They do not show real company numbers. People names are for practice; e-mails use example.com.
Concepts in this chapter
- 3.1Variables and Types
- 3.2Lists and Dictionaries
- 3.3if, for and Functions
- 3.4Comprehensions (Short Form)
The chapter recap is at the end of the last concept page.