Skip to content

docs: add comprehensive chapter on Sets in Python#140

Merged
sanjay-kv merged 1 commit into
recodehive:mainfrom
codewithdhruba01:add/set
Jul 2, 2025
Merged

docs: add comprehensive chapter on Sets in Python#140
sanjay-kv merged 1 commit into
recodehive:mainfrom
codewithdhruba01:add/set

Conversation

@codewithdhruba01

Copy link
Copy Markdown
Member
  • Introduced Sets with clear definitions and characteristics
  • Explained creation methods using {} and set()
  • Detailed set operations: union, intersection, difference, symmetric difference
  • Covered methods for adding, removing, and updating elements
  • Included examples, best practices, and use cases
  • Added section on frozenset (immutable sets)
  • Provided practice exercises and a summary table

close #139

- Introduced Sets with clear definitions and characteristics
- Explained creation methods using {} and set()
- Detailed set operations: union, intersection, difference, symmetric difference
- Covered methods for adding, removing, and updating elements
- Included examples, best practices, and use cases
- Added section on frozenset (immutable sets)
- Provided practice exercises and a summary table

Co-Authored-By: Sanjay Viswanathan <[email protected]>
@vercel

vercel Bot commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

@codewithdhruba01 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
recode-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2025 6:57am

@iitzIrFan

Copy link
Copy Markdown
Member

@sanjay-kv
Sets chapter added by @codewithdhruba01, ready to be merged !

@sanjay-kv sanjay-kv requested a review from Copilot July 2, 2025 06:56
@sanjay-kv sanjay-kv added the area:db PRs with DB label Jul 2, 2025
@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Jul 2, 2025
@sanjay-kv sanjay-kv moved this to In Progress in @recode-web Jul 2, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A new chapter on Python Sets has been added, alongside an update to the sidebar ordering.

  • Updated the sidebar position for the setup-environment doc to make room for the new Sets chapter
  • Introduced a full python-set.md file covering definitions, creation methods, operations, frozenset, examples, and exercises

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/python/setup-environment.md Incremented sidebar_position from 10 to 11 to accommodate Sets doc
docs/python/python-set.md Added comprehensive documentation on Python Sets
Comments suppressed due to low confidence (3)

docs/python/python-set.md:4

  • Frontmatter fields shouldn’t include inline comments. Consider removing #displays in sidebar or moving it outside the YAML block to avoid it rendering in the page.
sidebar_label: Set in Python #displays in sidebar

docs/python/python-set.md:53

  • The code block is closed with four backticks—replace with three (```) to properly terminate the Python code fence.
**docs/python/python-set.md:160**
* The table cell for the Union syntax is broken across columns. It should be formatted as a single entry, for example: `` `a | b or a.union(b)` ``.

| Union | `a | bora.union(b)` | Combine all elements from both sets |

</details>

Comment thread docs/python/python-set.md
@sanjay-kv sanjay-kv merged commit 47c4c14 into recodehive:main Jul 2, 2025
2 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in @recode-web Jul 2, 2025
@codewithdhruba01 codewithdhruba01 deleted the add/set branch July 2, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:db PRs with DB

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants