Forwarded from Python Projects
#PracticeCode: 0021
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers are given and you to print
the list shifted left by one step.
Sample:
input - [1,2,3,4]
output - [2,3,4,1]
NOTE :- Without loop!
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 #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers are given and you to print
the list shifted left by one step.
Sample:
input - [1,2,3,4]
output - [2,3,4,1]
NOTE :- Without loop!
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 #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0022
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program in which a list is given as input and you have to find max number
and change each element of list into max element.
input - [1,2,3,4,5]
output - [5,5,5,5,5]
NOTE :- Without Loop.
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 #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program in which a list is given as input and you have to find max number
and change each element of list into max element.
input - [1,2,3,4,5]
output - [5,5,5,5,5]
NOTE :- Without Loop.
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 #interviewQuestions #collections #dict #algorithm
Forwarded from Python Questions
In Python, functions can also have attributes and methods.
Anonymous Quiz
11%
Only Attributes
7%
Only Methods
79%
Both Attribures & Methods
3%
None
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.
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)
.
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
#python #pandas #DataScience #machineLearning #tutorial
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
#python #pandas #DataScience #machineLearning #tutorial
Medium
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
Forwarded from Python Questions
✅ Answer ✅
TypeError − ‘tuple’ object does not support item assignment because a tuple is immutable.
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?
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
🎯 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
Products_2K.csv
230.8 KB
ProductsList2K #dataset
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
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
🎯 »»»» 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
Telegram
Python Resources - Basic Python, ML, DataScience, BigData
ProductsList2K #dataset
https://analyticsindiamag.com/facebook-releases-open-source-library-for-3d-deep-learning-pytorch3d/
#pytorch #python #deeplearning #facedetection #article #opensource
#pytorch #python #deeplearning #facedetection #article #opensource
Analytics India Magazine
Facebook Releases Open-Source Library For 3D Deep Learning: PyTorch3D
In a significant boost to 3D deep learning research, Facebook AI has released PyTorch3D, a highly modular and optimised library with unique capabilities to make 3D deep learning easier.
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
🎯 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 ...