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
🎯 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
Wrangling Data with Pandas (AI Adventures) ——— By Google Cloud Platform
#python #DataWrangling #pandas #tutorial #videotutorial
#python #DataWrangling #pandas #tutorial #videotutorial
YouTube
Wrangling Data with Pandas
In this episode of AI Adventures, Yufeng explores the fascinating world of pandas, an open-source python library that provides easy to use, high-performance ...
🖥
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
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
YouTube
AI Adventures
AI Adventures explores the art, science, and tools of machine learning. Get started on your data science journey today! Subscribe to get all episodes as they...
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
🎯 »»»» 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
Telegram
Python Resources - Basic Python, ML, DataScience, BigData
ProductsList2K #dataset
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
🎯 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
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.
Dataset: 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
🎯 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.
Dataset: 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.
Dataset: 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
#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.
Dataset: 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
GitHub
katana-assistant/mlbackend/intents.json at master · katanaml/katana-assistant
Text based assistant powered by Machine Learning and NLP - katanaml/katana-assistant
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?
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
Forwarded from Python Projects
#PracticeCode: 0026
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Given a day of the week encoded as 0=Sun, 1=Mon, 2=Tue, ...6=Sat, and a boolean indicating if we are on vacation, return a string of the form "7:00" indicating when the alarm clock should ring. Weekdays, the alarm should be "7:00" and on the weekend it should be "10:00". Unless we are on vacation -- then on weekdays it should be "10:00" and weekends it should be "off".
Sample :-
input → weekday = 1 , vacation = False
output → '7:00'
input → weekday = 5 , vacation = False
output → '7:00'
input → weekday = 0 , vacation = False
output → '10:00'
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
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Given a day of the week encoded as 0=Sun, 1=Mon, 2=Tue, ...6=Sat, and a boolean indicating if we are on vacation, return a string of the form "7:00" indicating when the alarm clock should ring. Weekdays, the alarm should be "7:00" and on the weekend it should be "10:00". Unless we are on vacation -- then on weekdays it should be "10:00" and weekends it should be "off".
Sample :-
input → weekday = 1 , vacation = False
output → '7:00'
input → weekday = 5 , vacation = False
output → '7:00'
input → weekday = 0 , vacation = False
output → '10:00'
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