base repository: SonaniAkshit/Python-for-Data-Science
base: main@{1day}
head repository: SonaniAkshit/Python-for-Data-Science
Uh oh!
There was an error while loading. Please reload this page.
compare: main
- 13 commits
- 4 files changed
- 1 contributor
Commits on Jun 25, 2025
Add section on sorting lists in Python
Introduced a new section explaining how to sort lists in Python using sort() and sorted(), including examples for ascending, descending, case-insensitive, and custom key sorting. Added explanations, code samples, and tips to clarify the differences between in-place and returned sorted lists.
Add section on copying lists in Python
Introduced a new section explaining different ways to copy lists in Python, including using copy(), list(), and the pitfalls of using '='. Added code examples and tips to clarify the differences between shallow copies and references.
Commits on Jun 26, 2025
Add section on joining lists in Python
Introduced a new section demonstrating multiple ways to join lists in Python, including using the + operator, append() in a loop, extend(), and list comprehensions. Each method includes code examples and explanations to help beginners understand different approaches to merging lists.
Add section on nested lists to Lists notebook
Introduced a new section explaining Python nested lists, including how to create, access, loop through, and modify them. Added code examples, explanations, and tips for working with nested lists, making the notebook more comprehensive for beginners.
Add section on 2D list comprehensions in Python
Expanded the lists guide with examples and explanations of 2D (nested) list comprehensions, including creating a 2D grid, building a multiplication table, and flattening a 2D list. Also added summary tips and a quick reference table for Python list methods.
Revise introduction and example for Python lists
Updated the introductory section to clarify list properties (ordered, mutable, allows duplicates) and simplified the explanation. Removed unnecessary import and updated the code example for better clarity.
Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history Add beginner's guide notebook for Python tuples
Introduces a Jupyter notebook covering Python tuples, including creation, single-item tuples, indexing, looping, membership checks, length, mixed data types, and tuple constructors. Includes code examples and explanations for beginners.
Update workspace.xml with new work items
Added recent work items to .idea/workspace.xml to reflect updated task activity.
Add section on updating tuples in Python
Expanded the tuples guide with examples and explanations on how to update, add, and remove items from tuples using list conversion and tuple concatenation. Also improved code output messages and added tips for working with immutable tuples.
Add section on tuple unpacking in Python
Expanded the tuples guide with explanations and examples of tuple unpacking, including basic unpacking, use of the asterisk for collecting values, and related tips. Added code cells and markdown to illustrate unpacking techniques and common pitfalls.
Add section on looping through tuples in Python
Expanded the tuples guide with examples and explanations for looping through tuples using for loops, index-based iteration, and enumerate(). This addition helps beginners understand how to iterate over tuples and when to use each technique.
Add section on joining and repeating tuples
Expanded the tuples guide with examples and explanations for joining tuples using the + operator, joining multiple tuples, and repeating tuples with *. Also added a section on tuple methods, including count() and index(), with code examples and tips.
Add beginner's guide notebook for Python sets
Introduces a new Jupyter notebook covering Python sets, including creation, properties, adding/removing items, and common set operations with code examples and explanations for beginners.
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff main@{1day}...main
Uh oh!
There was an error while loading. Please reload this page.