Python Learning
5.93K subscribers
452 photos
1 video
64 files
109 links
Python Coding resources, Cheat Sheets & Quizzes! 🧑‍💻

Free courses: @bigdataspecialist

@datascience_bds
@github_repositories_bds
@coding_interview_preparation
@tech_news_bds

DMCA: @disclosure_bds

Contact: @mldatascientist
Download Telegram
Python OOP : Object Oriented Programming in Python

Python Object Oriented programming OOP advanced / Scripting for projects / automation / interview questions / beginners

Free Online Course
🎬 video lessons
Rating ⭐️: 4.6 out 5
Students 👨‍🎓 : 2,418
Duration : 2hr 10min of on-demand video
Created by 👨‍🏫: Deepali Srivastava

🔗 COURSE LINK


#python #programming #OOP

👉Join @python_bds for more👈
Using tuples as keys in dictionaries
Since tuples are hashable, and list is not, we must use tuple as the key if we need to create a composite key to use in a dictionary.

Example: We would come across a composite key if we need to create a telephone directory that maps, first-name, last-name, pairs of telephone numbers, etc. Assuming that we have declared the variables as last and first number, we could write a dictionary assignment statement as shown below:

directory[last,first] = number

Inside the brackets, the expression is a tuple. We could use tuple assignment in a for loop to navigate this dictionary.

for last, first in directory:
print first, last, directory[last, first]

This loop navigates the keys in the directory, which are tuples. It assigns the elements of each tuple to last and first and then prints the name and corresponding telephone number.

Tuples and dictionary

Dictionary can return the list of tuples by calling items, where each tuple is a key value pair.

a = {'x':100, 'y':200}
b = list(a.items())
print(b)


🔗 Read Online

#Python #python_3

Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
👍42
Learn R and Python Programming for Data Visualization

From Raw Data to Insightful Narratives: Creating Visual Charts

Free Online Course
🎬 video lessons
Rating ⭐️: 4.6 out 5
Students 👨‍🎓 : 2,300
Duration : 1hr 56min of on-demand video
Created by 👨‍🏫: Pranjal Srivastava, Harshit Srivastava

🔗 COURSE LINK


#python #programming #R

👉Join @python_bds for more👈
3👍2
Deleting Tuples

Tuples are immutable and cannot be deleted. You cannot delete or remove items from a tuple. But deleting tuple entirely is possible by using the keyword

del

Slicing of Tuple

To fetch specific sets of sub-elements from tuple or list, we use this unique function called slicing. Slicing is not only applicable to tuple but also for array and list.

x = ("a", "b","c", "d", "e")
print(x[2:4])


The output of this code will be (‘c’, ‘d’).

🔗 Read Online

#Python #python_3

Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
Forwarded from Free programming books
Please open Telegram to view this post
VIEW IN TELEGRAM
The Art of Doing: Master the Basics of Python GUIs!

Learn the fundamentals of the Tkinter library and starting making Python GUI apps today!

Free Online Course
🎬 video lessons
Rating ⭐️: 4.9 out 5
Students 👨‍🎓 : 16650
Duration : 1hr 56min of on-demand video
Created by 👨‍🏫: Michael Eramo

🔗 COURSE LINK


#python #programming

👉Join @python_bds for more👈
👍42
Python For Beginners Course In-Depth

Python: A Comprehensive Introduction to Fundamental Python Concepts and the Python Advanced Programming Concepts

Rating ⭐️: 4.2 out 5
Students 👨‍🎓 : 226,748
Duration : 7 hours on-demand video
Created by 👨‍🏫: Horizon Academy

🔗 Course Link

⚠️ Its free for first 1000 enrollments only!


#python

👉Join @bigdataspecialist for more👈
👍6👎1😁1
Python for Data Visualization: The Complete Masterclass

Transforming Data into Insights: A Comprehensive Guide to Python-based Data Visualization

Rating ⭐️: 4.6 out 5
Students 👨‍🎓 : 29,613
Duration : 3.5 hours on-demand video
Created by 👨‍🏫: Meta Brains

🔗 Course Link

⚠️ Its free for first 1000 enrollments only!


#python #data_visualization

👉Join @bigdataspecialist for more👈
👍7