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
011: Using Nested Models in FastAPI - Python

This
is the 11th video of the FastAPI series, a web framework for Python to create RestAPI's.

In our previous videos, we saw how to pass simple data types or a simple model as a parameter. In this video you will learn:
* How-to use List, Set & Dict provided by the Typing module.
* How-to pass deeply nested models as parameters

#video #videotutorial #python #FastAPI
Natural Language Processing with Python

– Analyzing Text with the Natural Language Toolkit
Steven Bird, Ewan Klein, and Edward Loper
This version of the NLTK book is updated for Python 3 and NLTK 3.

#python #eBook #NLTK #naturalLanguageProcessing
Forwarded from Python Projects
#PracticeCode: 0009

Task:
Given a numerical array. Check if there are two such numbers in the array, multiplying which we get the given number X.
Array: [1, 2, 3, 4, 5, 6] Input: 10 --- Output: (2,5) Input: 12 --- Output: (2,6),(3,4)

Come up with an optimal algorithm and implement it. Use least amount of variables and statements, but performance matters.

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0010
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You are a hard working child but you lack sleep 'cause of being busy with work. You can only sleep when you are off working day or you are on holidays.
You have to create a program that you get to sleep(return True) if you are on holidays or you are off from working day.

Example:
Input: Working=True , Holiday=False
Output: False

Input: Working=False , Holiday=False
Output: True

Input: Working=False , Holiday=True
Output: True


««« Send your solution to @hbabureddy and will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Questions
x = 100
y = 200
print(x and y) #Explain Y do you think so?
Anonymous Quiz
10%
100
23%
200
19%
300
48%
Error
Forwarded from Python Questions
What does ~~~~~7 evaluate to?
Anonymous Quiz
24%
7
4%
8
35%
-7
9%
-8
28%
Error
Forwarded from Python Questions
#answer to the question 👆is ————-»»» class float

Since the result of 1/2 is 0.5, which is a float.

65% got it correct.
Forwarded from Python Questions
#answer to the question 👆is ————-»»» b) hello world!

the keyword argument sep by default is set to a single space " ", hence it add's a space inbetween the two words.

50% have answered it correct.
Forwarded from Python Projects
#PracticeCode: 0012
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You have to create a program which returns sum of given two input values but if given
values are same , than return double of their sum.

Example:

input = (1, 2)
output → 3

input = (3, 2)
output → 5

input = (2, 2)
output → 8

««« Send your solution to @hbabureddy and will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0013
🎯 CHALLENGE YOUR FRIENDS ————— FORWARD IT 🎯

Task:
We all use the function to convert a string to a number. But what if that was not available.
This task is to write your own convert to string function.
• A string can contain alphanumeric characters, but the function should be able to pick the last set of digits.
• It should only convert the string to integers and if decimals are provided, they should be rounded off to a nearest integer.
• The range of this number should be between [-2 ^ 31, 2 ^ 31 - 1]. If the result is outside this range, display the border value.

Example:
a) Input: "25" --- Output: 25
b) Input: "25.55" --- Output: 26
c) Input: "25Hello234.56" --- Output: 235

««« Send your solution to @hbabureddy and will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples #interviewQuestions #collections #algorithm
Forwarded from Python Projects
#PracticeCode: 0014
🎯 FORWARD IF YOU LIKE IT 🎯

Task:

Write a program which inputs two numbers A and B.
If A is smaller then B than print absolue differnce else print double of their absolute difference.

example:

input - A=10, B=12
output - 2

input - A=10, B=5
output - 10

GOOD LUCK!

««« Send your solution to @hbabureddy and will be added to our Github page »»»

««« Click here for the Solution »»»

🔥Ready to take this challenge? 🔥

#python #practiceCode #samples
CS109 Data Science- Harvard:
Predicting Hubway Stations Status by Lauren Alexander, Gabriel Goulet-Langlois, Joshua Wolff

Learning from data in order to gain useful predictions and insights. This course introduces methods for five key facets of an investigation: data wrangling, cleaning, and sampling to get a suitable data set; data management to be able to access big data quickly and reliably; exploratory data analysis to generate hypotheses and intuition; prediction based on statistical methods such as regression and classification; and communication of results through visualization, stories, and interpretable summaries.

We will be using Python for all programming assignments and projects. All lectures will be posted here and should be available 24 hours after meeting time.

#DataScience #Course #Training #Harvard
The Big Bad NLP Database

A huge database for Natural Language Processing. You can find links to a lot of data, that would be sufficient for most of the beginners and advanced NLP students / scientists alike.

#database #datasets #NLP #NaturalLanguageProcessing
Forwarded from Python Questions
x = "Hello World!"
Which of the following is incorrect & Why?
Anonymous Quiz
18%
print(x[0])
49%
x[0] = ‘h’
22%
print(x.strip())
11%
print(x.upper())