Python Resources - Basic Python, ML, DataScience, BigData
2.46K subscribers
14 photos
3 files
243 links
You can find all kinds of resources related to Python, ML, DataScience and BigData.
Resources — »»» @python_resources_iGnani
Projects — »»» @python_projects_repository
Questions— »»» @python_interview_questions
Forum — »»» @python_programmers_club
Download Telegram
Forwarded from Python Questions
How can we check whether the object is instance of class or not.
For example, how to check if an object O which is instance of class C.
Anonymous Quiz
29%
C.isinstance(O)
40%
O.isinstance(C)
24%
isinstance(O,C)
7%
isinstance(C,O)
Forwarded from Python Questions
Answer
TypeError − ‘tuple’ object does not support item assignment because a tuple is immutable.
Forwarded from Python Questions
def foo(x = 10, y = 15):
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
Anonymous Quiz
33%
Error - arguments order
49%
35 -5
13%
35 30
5%
30 30
Forwarded from Python Projects
#PracticeCode: 0023
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You have to create a program in which a list is given as input and you have to print the sum of 1st , last and mid element of the
list.
If the list count is even, then select the 1st, last and average of 2 elements from the middle have to be considered.

sample :-

input - [1,2,3,4,5]
output - 9

NOTE :- Without Loop.

GOOD LUCK!

««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
👍1
Guys, those who are interested in learning ———»»» Data Wrangling «««———

using:
Pandas/Numpy/regex,

download the above data set.
Contains a set of 2000 products, quantity, category and other details.

Will post some practice tasks, which will be based on this dataset.

#python #dataset #DataWrangling
Forwarded from Python Projects
#DataWrangling : Task: 0001
🎯 »»»» FORWARD IF YOU LIKE IT «««« 🎯

Task:
Load the dataset using Pandas.

Optional Tasks:
»» Import only "Product Name, Quantity & Categories" columns
»» Load only 100 rows into the dataframe


📝 ———»»» Click here for the dataset ««« ———
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

🔥Ready to take this challenge? 🔥

««« Click here for the Solution »»»
#python #practiceCode #samples #DataWrangling #pandas
Forwarded from Python Questions
Which is the correct way to create an empty set in Python?
Anonymous Quiz
21%
[..]
25%
set[..]
14%
(..)
40%
set(..)
Forwarded from Python Projects
#PracticeCode: 0024
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You and your date are trying to get a table at a restaurant.
The parameter "you" is the stylishness of your clothes, in the range 0..10, and "date" is the stylishness of your date's clothes.
The result getting the table is encoded as an int value with
- 0=no,
- 1=maybe,
- 2=yes.

If either of you is very stylish, 8 or more, then the result is 2 (yes). With the exception that if either of you has style of 2 or less, then the result is 0 (no). Otherwise the result is 1 (maybe).

Sample :-
input → you = 5 , date = 10
output → 2

input → you = 5 , date = 2
output → 0

input → you = 5 , date = 5
output → 1

GOOD LUCK!

««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🖥

AI Adventures

A series of 45 videos on Machine Learning for Beginners. These videos explain the concepts related to Machine learning in simple ways, so that it gives a starting platform for beginners, who are new to Machine learning and don't know how to proceed.
#python #DataWrangling #pandas #tutorial #videotutorial #videoSeries #machineLearning
Forwarded from Python Projects
#DataWrangling : Task: 0002 ——————————————————— Continued from 0001
🎯 »»»» FORWARD IF YOU LIKE IT «««« 🎯

Task:
Clean the column "Product Name".
There are a lot of rows with Product Name as empty or contains some junk characters. Delete all such rows.


Optional Tasks:
»» Go through the list of Product Names and clear them of any special characters that you feel is not needed.
»» Clean up the Quantity & Categories columns by removing un-necessary special characters or junk values.


📝 ———»»» Click here for the dataset ««« ———
««« Send your solution @hbabureddy and proper solutions will be added to our Github page »»»

🔥Ready to take this challenge? 🔥

««« Click here for the Solution »»»
#python #practiceCode #samples #DataWrangling #pandas
Forwarded from Python Projects
#PracticeCode: 0025
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
There are few sweet Birds which like to play a lot. But there has to be a certain
weather condition so they can play freely. It's most suitable when the temperature
is between 60 to 90 , unless it's summer , in summer upper limit is increased to
100.

You have to create a program to check whether it's suitable for birds to play or not.
Take two inputs 1st temperature and 2nd for if it's summer in form of "Yes" or
"No". Than print output it's suitable or not.

Sample :-

input → Temp = 70 , Summer = NO
output → True

input → Temp = 95 , summer = No
output → False

input → Temp = 95 , summer = Yes
output → True

GOOD LUCK!

««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #conditions
Python Module Summaries

View the dependencies and sub-dependencies of every Python module on the Python Package Index (PyPI) as a collapsible tree along with a summary.
Get an immediate understanding of any modules's features and the problems it can solve.

#python #tools #modules
Forwarded from Python Projects
#ML_Project: 0001 ——— Model to Detect Fraudulent Activities
🎯 FORWARD IF YOU LIKE IT 🎯

Task: Using k-means clustering, you can build a model to detect fraudulent activities. K-means clustering is an unsupervised Machine learning algorithm. It separates the observations into k number of clusters based on the similar patterns in the data.

Data
set: Enron email dataset
Enron Email Dataset is famous in natural language processing. It has more than 500K emails of over 150 users. The size of the data is around 432Mb. Out of 150 users, most are the senior management of Enron.

««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥
#python #machineLearning #projects #datasets #kMeans
Forwarded from Python Projects
*

#ML_Project: 0002 ——— 🎯 FORWARD IF YOU LIKE IT 🎯

Build a Chatbot


Task:
You can build a chatbot or understand the working of a chatbot by twisting and expanding the data with your observations. To build a Chatbot of your own, you need to have a good knowledge of Natural language processing concepts.

Data
set: Chatbot Intents Dataset
The Chatbot dataset is a JSON file that has disparate tags like goodbye, greetings, pharmacy_search, hospital_search, etc. Every tag has a list of patterns that a user can ask, and the chatbot will respond according to that pattern. The dataset is perfect for understanding how chatbot data works.

Reference: Click here
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥
#python #machineLearning #projects #datasets #kMeans
Forwarded from Python Questions
Consider the following sequence of statements:
n = 300
m = n Following execution of these statements, Python has created how many objects and how many references?
Anonymous Quiz
19%
Two objects, two references
35%
One object, two references
29%
Two objects, one reference
17%
One object, one reference