Search

Google Drive (Python Tutorial Courses)

🔰Google Drive (Python)🔰

♤Udemy - Python for Computer Vision with OpenCV and Deep Learning (5.67 GiB)
http://gestyy.com/w572jo

♡Udemy - Zero to Deep Learning™ with Python and Keras (1.89 GiB)
http://gestyy.com/w572lR

◇Udemy - Python for Data Science and Machine Learning Bootcamp (3.79 GiB)
http://gestyy.com/w572zW

♧Udemy - Python for Data Science and Machine Learning Bootcamp (3.79 GiB)
http://gestyy.com/w572xP

MEGA GOOGLE DRIVE URL PACK

BULK GOOGLE DRIVE URL LINKS
Contains ALL SORTS OF VIDEOS, EBOOKS, Google drive folder + subfolder
Use is what ever way you like.


http://corneey.com/w474IU
http://gestyy.com/w4A0gn
http://corneey.com/w474IS
http://gestyy.com/w4A0hU
http://corneey.com/w474IJ
http://gestyy.com/w4A0kD
http://corneey.com/w474IC
http://corneey.com/w474I1
http://corneey.com/w474I6
http://gestyy.com/w4A0z0
http://gestyy.com/w4A0zn
http://gestyy.com/w4A0xi
http://gestyy.com/w4A0xS
http://gestyy.com/w4A0cT
http://gestyy.com/w4A0vo
http://gestyy.com/w4A0vI
http://gestyy.com/w4A0bw
http://gestyy.com/w4A0bc
http://gestyy.com/w4A0bY
http://gestyy.com/w4A0n8
http://gestyy.com/w4A0mJ
http://corneey.com/w474Jz
http://gestyy.com/w4A0Qq
http://corneey.com/w474Jn
http://gestyy.com/w4A0Qa
http://ceesty.com/w3r3nI
http://gestyy.com/w4A0Qx
http://gestyy.com/w4A0QG
http://corneey.com/w474JO
http://gestyy.com/w4A0Wl
http://gestyy.com/w4A0WV
http://gestyy.com/w4A0EY
http://gestyy.com/w4A0EX
http://gestyy.com/w4A0R0
http://corneey.com/w474JL
http://gestyy.com/w4A0TJ
http://gestyy.com/w4A0Yy
http://gestyy.com/w4A0YP
http://gestyy.com/w4A0Y4
http://gestyy.com/w4A0Uf
http://gestyy.com/w4A0UK
http://gestyy.com/w4A0U7
http://corneey.com/w474Lq
http://gestyy.com/w4A0Ic
http://gestyy.com/w4A0IA
http://gestyy.com/w4A0Og
http://gestyy.com/w4A0OF
http://gestyy.com/w4A0OB
http://gestyy.com/w4A0Pv
http://gestyy.com/w4A0Aq
http://corneey.com/w474Ly
http://gestyy.com/w4A0Am
http://gestyy.com/w4A0SE
http://gestyy.com/w4A0S7
http://gestyy.com/w4A0DM
http://gestyy.com/w4A0F3
http://gestyy.com/w4A0GC
http://gestyy.com/w4A0Hq
http://gestyy.com/w4A0Hx
http://corneey.com/w474La
http://gestyy.com/w4A0HG
http://gestyy.com/w4A0Jo
http://gestyy.com/w4A0JD
http://corneey.com/w474Z2
http://corneey.com/w474Z7
http://corneey.com/w474Xw
http://corneey.com/w474Xu
http://corneey.com/w474Xs
http://corneey.com/w474Xj
http://corneey.com/w474Xc
http://corneey.com/w474XQ
http://corneey.com/w474XY
http://corneey.com/w474XA
http://corneey.com/w474XH
http://corneey.com/w474XX
http://corneey.com/w474XM
http://corneey.com/w474X5
http://corneey.com/w474C0
http://corneey.com/w474Ct
http://corneey.com/w474Cp
http://corneey.com/w474Bh
http://corneey.com/w474Bx
http://corneey.com/w474Bm
http://corneey.com/w474BT
http://corneey.com/w474BP
http://corneey.com/w474BG
http://corneey.com/w474BZ
http://corneey.com/w474BN
http://corneey.com/w474B4
http://corneey.com/w474B9

Mega share tutorials of 75GB Course's Collection

75 GB Course's Collection
✅All Python Courses,AWS,App Development,CSS,Ethical Hacking, iOS,Linux,SEO,Visual studio
http://ceesty.com/w4bSc6

✅Learn Android Studio 2018 From Scratch To Playstore
http://ceesty.com/w4bSvq

✅Pentester Academy
http://festyy.com/w2zELl

✅Computer Security
http://corneey.com/w2UZgX

✅Pluralsight CompTIA Project Plus
http://corneey.com/w2UZhO

✅Forensics
http://corneey.com/w2UZka

✅Computer Books
http://corneey.com/w2UZnX

✅Networking
http://corneey.com/w2UZWh

✅Informatic Security
http://ceesty.com/w4bSnc

✅Voice Distorters
http://ceesty.com/w4bSnQ

✅Anonymous
http://ceesty.com/w4bSnY

✅Linux 3 Courses
http://ceesty.com/w4bSRQ

✅Udemy - The Complete Financial Analyst Training & Investing Course
http://ceesty.com/w4bSRY

✅Udemy - Tableau Expert Top Visualization Techniques in Tableau 10
http://ceesty.com/w4bSRA

✅Udemy - Essential Poker Math for No Limit HoldEm
http://ceesty.com/w4bSRH

✅Udemy - MATLAB for the Absolute Beginner
http://corneey.com/w2UZdh

✅Udemy - Python for Financial Analysis and Algorithmic Trading
http://destyy.com/w2kVos

✅Udemy - Learn to Design Your Own Boards
http://ceesty.com/w4bSRX

✅Udemy - The Complete Ethical Hacking Course
http://ceesty.com/w4bSRM

✅Udemy - Vue JS 2 - The Complete Guide
(incl. Vue Router & Vuex)
http://ceesty.com/w4bSU4

✅Udemy - Angular 5 (formerly Angular 2)
The Complete Guide
http://ceesty.com/w4bSU9

✅Udemy - Mastering Microcontroller with Embedded Driver Development
http://ceesty.com/w4bSIr

✅Udemy - Build Responsive Real World Websites with HTML5 and CSS3 2.0
http://ceesty.com/w4bSIo

✅Udemy - Creating Whiteboard Animation Videos Using Videoscribe 2017
http://ceesty.com/w4bSIf

✅Udemy - Linux Command Line Basics
http://ceesty.com/w4bSIl

✅Udemy - Microsoft Office 2016 Essential Training 9 Course Bundle
http://ceesty.com/w4bSIb

✅Udemy - The Complete Android Developer Course Beginner To Advanced
http://ceesty.com/w4bSIE

✅Udemy - The Complete Facebook Ads & Marketing Course 2017
http://ceesty.com/w4bSII
-------------------------------------------------------
by - @pysnake (in Telegram App)
-------------------------------------------------------

Udemy - Complete Python Bootcamp HD [Re-post]


Also checkout:- https://free-pot.blogspot.com/2019/09/mega-share-tutorials-of-75gb-courses.html
01 Course Overview:-
├001 Course Introduction.mp4:- http://ceesty.com/w4bI6j
├002 Course Curriculum Overview.mp4:- http://ceesty.com/w4bI6c
├003 Python 2 vs Python 3.mp4:- http://ceesty.com/w4bI6Q
├004 How to Approach This Course.mp4:- http://ceesty.com/w4bI6Y
└005 Course FAQs.html:- http://ceesty.com/w4bI6A

02 Python Setup:-
├001 Installation Notes.html:- http://ceesty.com/w4bI7L
├002 Quick Note on Jupyter Notebooks.html:- http://ceesty.com/w4bI7B
├003 Python Installation --- Windows.mp4:- http://ceesty.com/w4bI73
├004 Python Installation --- Mac OS and Linux.mp4:- http://ceesty.com/w4bI78
├005 IDE Selection.mp4:- http://ceesty.com/w4bI8e
├006 Jupyter iPython Notebooks.mp4:- http://ceesty.com/w4bI8i
├007 FAQ - Notebooks.mp4:- http://ceesty.com/w4bI8d
├008 Additional Resources.mp4:- http://ceesty.com/w4bI8k
└009 Git and Github Overview Optional.mp4:- http://ceesty.com/w4bI8W

03 Python Object and Data Structure Basics:-
├001 Numbers.mp4:- http://ceesty.com/w4bOwF
├002 Numbers - FAQ.html:- http://ceesty.com/w4bOwL
├003 Numbers Quiz Quiz.html:- http://ceesty.com/w4bOwB
├004 Strings.mp4:- http://ceesty.com/w4bOw3
├005 Strings -FAQ.html:- http://ceesty.com/w4bOw8
├006 Strings Quiz Quiz.html:- http://ceesty.com/w4bOee
├007 Print Formatting.mp4:- http://ceesty.com/w4bOei
├008 Print Formatting FAQs.html:- http://ceesty.com/w4bOed
├009 Lists - FAQ.html:- http://ceesty.com/w4bOek
├010 Lists.mp4:- http://ceesty.com/w4bOev
├011 Lists Quiz Quiz.html:- http://ceesty.com/w4bOeW
├012 Dictionaries.mp4:- http://ceesty.com/w4bOeU
├013 Dictionaries - FAQ.html:- http://ceesty.com/w4bOeS
├014 Dictionaries Quiz Quiz.html:- http://ceesty.com/w4bOeJ
├015 Tuples.mp4:- http://ceesty.com/w4bOeC
├016 Tuples Quiz Quiz.html:- http://ceesty.com/w4bOe1
├017 Files.mp4:- http://ceesty.com/w4bOe6
├018 Sets and Booleans.mp4:- http://ceesty.com/w4bOrq
├019 Sets and Booleans Quiz Quiz.html:- http://ceesty.com/w4bOry
├020 Resources for More Basic Practice.html:- http://ceesty.com/w4bOra
├021 Objects and Data Structures Assessment Test.mp4:- http://ceesty.com/w4bOt7
└022 Objects and Data Structures Assessment - Solutions.mp4:- http://ceesty.com/w4bOyw

04 Python Comparison Operators:-
├001 Comparison Operators.mp4:- http://ceesty.com/w4bOiv
├002 Chained Comparison Operators.mp4:- http://ceesty.com/w4bOiW
└003 Comparison Operators Quiz Quiz.html:- http://ceesty.com/w4bOiU

05 Python Statements:-
├001 Introduction to Python Statements.mp4:- http://ceesty.com/w4bOpD
├002 if, elif, and else Statements.mp4:- http://ceesty.com/w4bOpK
├003 for Loops.mp4:- http://ceesty.com/w4bOpV
├004 while Loops.mp4:- http://ceesty.com/w4bOp2
├005 range.mp4:- http://ceesty.com/w4bOp7
├006 List Comprehensions.mp4:- http://ceesty.com/w4bOaw
├007 Python Statements FAQ.html:- http://ceesty.com/w4bOau
├008 Statements Assessment Test.mp4:- http://ceesty.com/w4bOas
└009 Statements Assessment Solutions.mp4:- http://ceesty.com/w4bOaj

06 Methods and Functions:-
├001 Methods.mp4:- http://ceesty.com/w4bOs8
├002 Functions.mp4:- http://ceesty.com/w4bOde
├003 lambda expressions.mp4:- http://ceesty.com/w4bOdi
├004 Nested Statements and Scope.mp4:- http://ceesty.com/w4bOdd
├005 Methods and Functions FAQ.html:- http://ceesty.com/w4bOdk
├006 Functions and Methods - Homework Assignment.mp4:- http://ceesty.com/w4bOdv
├007 Hints and Tips for Functions and Methods Assignment.html:- http://ceesty.com/w4bOdW
└008 Functions and Methods Homework - Solutions.mp4:- http://ceesty.com/w4bOdU

07 Milestone Project - 1:-
├001 Milestone Project 1 Section.html:- http://ceesty.com/w4bOf4
├002 Milestone Project 1 -Assignment Overview.mp4:- http://ceesty.com/w4bOf9
├003 Milestone Project Help.html:- http://ceesty.com/w4bOgr
├004 Milestone Project 1 - Solution Walkthrough - Part 1.mp4:- http://ceesty.com/w4bOgo
├005 Milestone Project 1 - Solution Walkthrough - Part 2.mp4:- http://ceesty.com/w4bOgf
├006 Milestone Project 1 - Solution Walkthrough - Part 3.mp4:- http://ceesty.com/w4bOgl
└007 Advanced Project Solution Overview.mp4:- http://ceesty.com/w4bOgb

08 Object Oriented Programming:-
├001 OOP - Part 1 - Objects.mp4:- http://ceesty.com/w4bOh5
├002 OOP - Part 2 - Classes.mp4:- http://ceesty.com/w4bOj0
├003 OOP - Part 3 -Methods.mp4:- http://ceesty.com/w4bOjt
├004 OOP - Part 4 - Inheritance.mp4:- http://ceesty.com/w4bOjp
├005 OOP - Part 5 - Special Methods.mp4:- http://ceesty.com/w4bOjg
├006 OOP FAQ.html:- http://ceesty.com/w4bOjz
├007 OOP Homework Assignment.mp4:- http://ceesty.com/w4bOjn
└008 OOP Homework Solution.mp4:- http://ceesty.com/w4bOjR

09 Errors and Exceptions Handling:-
├001 Errors and Exceptions.mp4:- http://ceesty.com/w4bOkU
├002 Exception Handling try, except, finally.mp4:- http://ceesty.com/w4bOkS
├003 Errors and Exception Handling FAQ.html:- http://ceesty.com/w4bOkJ
├004 Errors and Exceptions Homework.mp4:- http://ceesty.com/w4bOkC
└005 Errors and Exceptions - Solutions.mp4:- http://ceesty.com/w4bOk1

10 Milestone Project - 2:-
├001 Project Overview.mp4:- http://ceesty.com/w4bOxQ
└002 Project 2 Solution.mp4:- http://ceesty.com/w4bOxY

11 Modules and Packages:-
├001 Modules, Packages, and Imports.mp4:- http://ceesty.com/w4bOnr
├002 Modules and Packages Assignment.mp4:- http://ceesty.com/w4bOno
└003 Create your own Python modules..html:- http://ceesty.com/w4bOnf

12 Built-in Functions:-
├001 Python 3 Notes for Map, Reduce, and Filter.html:- http://ceesty.com/w4bOn7
├002 Map.mp4:- http://ceesty.com/w4bOmw
├003 Reduce.mp4:- http://ceesty.com/w4bOmu
├004 Filter.mp4:- http://ceesty.com/w4bOms
├005 Zip.mp4:- http://ceesty.com/w4bOmj
├006 Enumerate.mp4:- http://ceesty.com/w4bOmc
├007 all and any.mp4:- http://ceesty.com/w4bOmQ
├008 Complex.mp4:- http://ceesty.com/w4bOmY
├009 Built-in Functions Assessment Test.mp4:- http://ceesty.com/w4bOmA
└010 Built-in Functions Assessment Test Solutions.mp4:- http://ceesty.com/w4bOmH

13 Python Decorators:-
├001 Decorators - Part 1.mp4:- http://ceesty.com/w4bOQF
├002 Decorators - Part 2.mp4:- http://ceesty.com/w4bOQL
├003 Decorators - Part 3.mp4:- http://ceesty.com/w4bOQB
└004 Decorators Homework.mp4:- http://ceesty.com/w4bOQ3

😃Get Yourself a New Mobile 🔥🔥🔥HOT DEALS🔥🔥🔥


14 Python Generators:-
├001 Iteration vs Generation.mp4:- http://ceesty.com/w4bOWe
├002 Creating Generators.mp4:- http://ceesty.com/w4bOWi
├003 Iterators and Generators Homework.mp4:- http://ceesty.com/w4bOWd
└004 Iterators and Generators Homework - Solutions.mp4:- http://ceesty.com/w4bOWk

15 Final Capstone Python Project:-
└001 Final Capstone Project.mp4:- http://ceesty.com/w4bOWW

16 Advanced Python Modules:-
├001 Collections Module - counter.mp4:- http://ceesty.com/w4bOEh
├002 Collections Module - defaultdict.mp4:- http://ceesty.com/w4bOEx
├003 Collections Module - OrderedDict.mp4:- http://ceesty.com/w4bOEm
├004 Collections Module - namedtuple.mp4:- http://ceesty.com/w4bOET
├005 Datetime.mp4:- http://ceesty.com/w4bOEP
├006 Python Debugger - pdb.mp4:- http://ceesty.com/w4bOEG
├007 Timing your code - timeit.mp4:- http://ceesty.com/w4bOEZ
├008 Regular Expressions -re.mp4:- http://ceesty.com/w4bOEN
├009 StringIO.mp4:- http://ceesty.com/w4bOE4
└010 Advanced Python Modules FAQ.html:- http://ceesty.com/w4bOE9

17 Advanced Python Objects and Data Structures:-
├001 Advanced Numbers.mp4:- http://ceesty.com/w4bOTX
├002 Advanced Strings.mp4:- http://ceesty.com/w4bOTM
├003 Advanced Sets.mp4:- http://ceesty.com/w4bOT5
├004 Advanced Dictionaries.mp4:- http://ceesty.com/w4bOY0
├005 Advanced Lists.mp4:- http://ceesty.com/w4bOYt
├006 Advanced Python Objects Assessment Test.mp4:- http://ceesty.com/w4bOYp
└007 Advanced Python Objects Test - Solutions.mp4:- http://ceesty.com/w4bOYg

18 Bonus Material - Introduction to GUIs:-
├001 Introduction to GUIs.html:- http://ceesty.com/w4bOUW
├002 Interact.mp4:- http://ceesty.com/w4bOUU
├003 Widget Basics.mp4:- http://ceesty.com/w4bOUS
├004 Widget Events.mp4:- http://festyy.com/w4l4CV
├005 Widget List.mp4:- http://festyy.com/w4l4Z6
├006 Widget Styling.mp4:- http://festyy.com/w4l4VM
└007 Custom Widget Example.mp4:- http://ceesty.com/w4bOUJ

19 BONUS SPECIAL OFFERS:-
└001 Bonus Offers.html:- http://festyy.com/w4l4Xq

Top 100 Data Science Interview Questions and Answers


Frequently asked Interview Question and Answer in Data Science suites for both Freshers and Experienced Candidates.

Note:Python Questions from question no. 74


Data Science Interview Questions with Answers listed down below are handpicked by the experienced Data Scientist from top IT firms which includes Oracle, Wipro, DBS Bank, ODBC Bank, Google, Cisco, Dell and IBM.

Data Science is one of the leading and most popular trending technology which has been currently used various domains to draw a meaningful insights using various tools, algorithms, machine learning principles.

Know More: Data Science Certification Topics – Latest Updated

This Data Science Interview Questions and Answers collection will help you to crack the interview easily. This Data Science Interview Questions will suit both fresher and experienced Data Scientist.

All The Best..!

***************************************************************************************************
Data Science General Interview Questions
1. How would you create a taxonomy to identify key customer trends in unstructured data?
Ans.The best way to approach this question is to mention that it is good to check with the business owner and understand their objectives before categorizing the data. Having done this, it is always good to follow an iterative approach by pulling new data samples and improving the model accordingly by validating it for accuracy by soliciting feedback from the stakeholders of the business. This helps ensure that your model is producing actionable results anproving over the time.

2. Python or R – Which one would you prefer for text analytics?
Ans.The best possible answer for this would be Python because it has Pandas library that provides easy to use data structures and high performance data analysis tools.

3. Which technique is used to predict categorical responses?
Ans.Classification technique is used widely in mining for classifying data sets.

4. What are Recommender Systems?
Ans.A subclass of information filtering systems that are meant to predict the preferences or ratings that a user would give to a product. Recommender systems are widely used in movies, news, research articles, products, social tags, music, etc.

5. What is power analysis?
Ans.An experimental design technique for determining the effect of a given sample size.

6. What is Collaborative filtering?
Ans.The process of filtering used by most of the recommender systems to find patterns or information by collaborating viewpoints, various data sources and multiple agents.

7. What is Machine Learning?
Ans.The simplest way to answer this question is – we give the data and equation to the machine. Ask the machine to look at the data and identify the coefficient values in an equation.
For example for the linear regression y=mx+c, we give the data for the variable x, y and the machine learns about the values of m and c from the data.

8. During analysis, how do you treat missing values?
Ans.The extent of the missing values is identified after identifying the variables with missing values. If any patterns are identified the analyst has to concentrate on them as it could lead to interesting and meaningful business insights. If there are no patterns identified, then the missing values can be substituted with mean or median values (imputation) or they can simply be ignored. There are various factors to be considered when answering this question:
Understand the problem statement, understand the data and then give the answer. Assigning a default value which can be mean, minimum or maximum value. Getting into the data is important.
If it is a categorical variable, the default value is assigned. The missing value is assigned a default value.
If you have a distribution of data coming, for normal distribution give the mean value.
Should we even treat missing values is another important point to consider? If 80% of the values for a variable are missing then you can answer that you would be dropping the variable instead of treating the missing values.

9. How can outlier values be treated?
Ans.Outlier values can be identified by using univariate or any other graphical analysis method. If the number of outlier values is few then they can be assessed individually but for large number of outliers the values can be substituted with either the 99th or the 1st percentile values. All extreme values are not outlier values. The most common ways to treat outlier values –
To change the value and bring in within a range
To just remove the value.

10. What is the goal of A/B Testing?
Ans.It is a statistical hypothesis testing for randomized experiment with two variables A and B. The goal of A/B Testing is to identify any changes to the web page to maximize or increase the outcome of an interest. An example for this could be identifying the click through rate for a banner ad.

11. Why data cleaning plays a vital role in analysis?
Ans.Cleaning data from multiple sources to transform it into a format that data analysts or data scientists can work with is a cumbersome process because – as the number of data sources increases, the time take to clean the data increases exponentially due to the number of sources and the volume of data generated in these sources. It might take up to 80% of the time for just cleaning data making it a critical part of analysis task.

12. Differentiate between univariate, bivariate and multivariate analysis.
Ans.These are descriptive statistical analysis techniques which can be differentiated based on the number of variables involved at a given point of time. For example, the pie charts of sales based on territory involve only one variable and can be referred to as univariate analysis.
If the analysis attempts to understand the difference between 2 variables at time as in a scatterplot, then it is referred to as bivariate analysis. For example, analyzing the volume of sale and a spending can be considered as an example of bivariate analysis.
Analysis that deals with the study of more than two variables to understand the effect of variables on the responses is referred to as multivariate analysis.

13. What do you understand by the term Normal Distribution?
Ans.Data is usually distributed in different ways with a bias to the left or to the right or it can all be jumbled up. However, there are chances that data is distributed around a central value without any bias to the left or right and reaches normal distribution in the form of a bell shaped curve. The random variables are distributed in the form of an symmetrical bell shaped curve.

14. What is Interpolation and Extrapolation?
Ans.Estimating a value from 2 known values from a list of values is Interpolation. Extrapolation is approximating a value by extending a known set of values or facts.

15. Are expected value and mean value different?
Ans.They are not different but the terms are used in different contexts. Mean is generally referred when talking about a probability distribution or sample population whereas expected value is generally referred in a random variable context.
For Sampling Data
Mean value is the only value that comes from the sampling data.
Expected Value is the mean of all the means i.e. the value that is built from multiple samples. Expected value is the population mean.
For Distributions
Mean value and Expected value are same irrespective of the distribution, under the condition that the distribution is in the same population.

16. What is the difference between Supervised Learning an Unsupervised Learning?
Ans.If an algorithm learns from the training data so that the knowledge can be applied to the test data, then it is referred to as Supervised Learning. Classification is an example for Supervised Learning. If the algorithm does not learn anything beforehand because there is no response variable or any training data, then it is referred to as unsupervised learning. Clustering is an example for unsupervised learning.

17. What is an Eigenvalue and Eigenvector?
Ans.Eigenvectors are used for understanding linear transformations. In data analysis, we usually calculate the eigenvectors for a correlation or covariance matrix. Eigenvectors are the directions along which a particular linear transformation acts by flipping, compressing or stretching. Eigenvalue can be referred to as the strength of the transformation in the direction of eigenvector or the factor by which the compression occurs.

18. What are various steps involved in an analytics project?
Ans.• Understand the business problem
• Explore the data and become familiar with it.
• Prepare the data for modelling by detecting outliers, treating missing values, transforming variables, etc.
• After data preparation, start running the model, analyze the result and tweak the approach. This is an iterative step till the best possible outcome is achieved.
• Validate the model using a new data set.
• Start implementing the model and track the result to analyze the performance of the model over the period of time.

19. How can you deal with different types of seasonality in time series modelling?
Ans.Seasonality in time series occurs when time series shows a repeated pattern over time. E.g., stationary sales decreases during holiday season, air conditioner sales increases during the summers etc. are few examples of seasonality in a time series.
Seasonality makes your time series non-stationary because average value of the variables at different time periods. Differentiating a time series is generally known as the best method of removing seasonality from a time series. Seasonal differencing can be defined as a numerical difference between a particular value and a value with a periodic lag (i.e. 12, if monthly seasonality is present)

20. Why L1 regularizations causes parameter sparsity whereas L2 regularization does not?
Ans.Regularizations in statistics or in the field of machine learning is used to include some extra information in order to solve a problem in a better way. L1 & L2 regularizations are generally used to add constraints to optimization problems.
In the example shown above H0 is a hypothesis. If you observe, in L1 there is a high likelihood to hit the corners as solutions while in L2, it doesn’t. So in L1 variables are penalized more as compared to L2 which results into sparsity.
In other words, errors are squared in L2, so model sees higher error and tries to minimize that squared error.

21. What does P-value signify about the statistical data?
Ans.P-value is used to determine the significance of results after a hypothesis test in statistics. P-value helps the readers to draw conclusions and is always between 0 and 1.

• P- Value > 0.05 denotes weak evidence against the null hypothesis which means the null hypothesis cannot be rejected.
• P-value <= 0.05 denotes strong evidence against the null hypothesis which means the null hypothesis can be rejected. • P-value=0.05is the marginal value indicating it is possible to go either way.

22. Do gradient descent methods always converge to same point?
Ans.No, they do not because in some cases it reaches a local minima or a local optima point. You don’t reach the global optima point. It depends on the data and starting conditions.

23. How can you iterate over a list and also retrieve element indices at the same time?
Ans.This can be done using the enumerate function which takes every element in a sequence just like in a list and adds its location just before it.

24. Can you explain the difference between a Test Set and a Validation Set?
Ans.Validation set can be considered as a part of the training set as it is used for parameter selection and to avoid Overfitting of the model being built. On the other hand, test set is used for testing or evaluating the performance of a trained machine leaning model. In simple terms, the differences can be summarized as-
• Training Set is to fit the parameters i.e. weights.
• Test Set is to assess the performance of the model i.e. evaluating the predictive power and generalization.
• Validation set is to tune the parameters.

25. What do you understand by statistical power of sensitivity and how do you calculate it?
Ans.Sensitivity is commonly used to validate the accuracy of a classifier (Logistic, SVM, RF etc.). Sensitivity is nothing but “Predicted TRUE events/ Total events”. True events here are the events which were true and model also predicted them as true. Calculation of seasonality is pretty straight forward- Seasonality = True Positives /Positives in Actual Dependent Variable Where, True positives are Positive events which are correctly classified as Positives.

26. How do data management procedures like missing data handling make selection bias worse?
Ans.Missing value treatment is one of the primary tasks which a data scientist is supposed to do before starting data analysis. There are multiple methods for missing value treatment. If not done properly, it could potentially result into selection bias. Let see few missing value treatment examples and their impact on selection- Complete Case Treatment: Complete case treatment is when you remove entire row in data even if one value is missing. You could achieve a selection bias if your values are not missing at random and they have some pattern. Assume you are conducting a survey and few people didn’t specify their gender. Would you remove all those people? Can’t it tell a different story? >Available case analysis: Let say you are trying to calculate correlation matrix for data so you might remove the missing values from variables which are needed for that particular correlation coefficient. In this case your values will not be fully correct as they are coming from population sets.
Mean Substitution: In this method missing values are replaced with mean of other available values. This might make your distribution biased e.g., standard deviation, correlation and regression are mostly dependent on the mean value of variables.
Hence, various data management procedures might include selection bias in your data if not chosen correctly.

***************************************************************************************************
Data Science Confusion Matrix Interview Questions

27. Can you cite some examples where a false positive is important than a false negative?
Ans.Before we start, let us understand what false positives are and what false negatives are.
False Positives are the cases where you wrongly classified a non-event as an event a.k.a Type I error.
And, False Negatives are the cases where you wrongly classify events as non-events, a.k.a Type II error.
In medical field, assume you have to give chemo therapy to patients. Your lab tests patients for certain vital information and based on those results they decide to give radiation therapy to a patient.
Assume a patient comes to that hospital and he is tested positive for cancer (But he doesn’t have cancer) based on lab prediction. What will happen to him? (Assuming Sensitivity is 1)
One more example might come from marketing. Let’s say an ecommerce company decided to give $1000 Gift voucher to the customers whom they assume to purchase at least $5000 worth of items. They send free voucher mail directly to 100 customers without any minimum purchase condition because they assume to make at least 20% profit on sold items above 5K.
Now what if they have sent it to false positive cases?

28. Can you cite some examples where a false negative important than a false positive?
Ans.Assume there is an airport ‘A’ which has received high security threats and based on certain characteristics they identify whether a particular passenger can be a threat or not. Due to shortage of staff they decided to scan passenger being predicted as risk positives by their predictive model.
What will happen if a true threat customer is being flagged as non-threat by airport model?
Another example can be judicial system. What if Jury or judge decide to make a criminal go free?
What if you rejected to marry a very good person based on your predictive model and you happen to meet him/her after few years and realize that you had a false negative?

29. Can you cite some examples where both false positive and false negatives are equally important?
Ans.In the banking industry giving loans is the primary source of making money but at the same time if your repayment rate is not good you will not make any profit, rather you will risk huge losses.
Banks don’t want to lose good customers and at the same point of time they don’t want to acquire bad customers. In this scenario both the false positives and false negatives become very important to measure.
These days we hear many cases of players using steroids during sport competitions. Every player has to go through a steroid test before the game starts. A false positive can ruin the career of a Great sportsman and a false negative can make the game unfair.

30. A test has a true positive rate of 100% and false positive rate of 5%. There is a population with a 1/1000 rate of having the condition the test identifies. Considering a positive test, what is the probability of having that condition?
Ans.Let’s suppose you are being tested for a disease, if you have the illness the test will end up saying you have the illness. However, if you don’t have the illness- 5% of the times the test will end up saying you have the illness and 95% of the times the test will give accurate result that you don’t have the illness. Thus there is a 5% error in case you do not have the illness.
Out of 1000 people, 1 person who has the disease will get true positive result. Out of the remaining 999 people, 5% will also get true positive result.
Close to 50 people will get a true positive result for the disease.
This means that out of 1000 people, 51 people will be tested positive for the disease even though only one person has the illness. There is only a 2% probability of you having the disease even if your reports say that you have the disease.

***************************************************************************************************
Data Science Classification and Regression Interview Questions
31. What is Linear Regression?
Ans.Linear regression is a statistical technique where the score of a variable Y is predicted from the score of a second variable X. X
is referred to as the predictor variable and Y as the criterion variable.

32. What is the difference between Cluster and Systematic Sampling?
Ans.Cluster sampling is a technique used when it becomes difficult to study the target population spread across a wide area and simple random sampling cannot be applied. Cluster Sample is a probability sample where each sampling unit is a collection, or cluster of elements. Systematic sampling is a statistical technique where elements are selected from an ordered sampling frame. In systematic sampling, the list is progressed in a circular manner so once you reach the end of the list, it is progressed from the top again. The best example for systematic sampling is equal probability method.

33. How can you assess a good logistic model?
Ans.There are various methods to assess the results of a logistic regression analysis-
• Using Classification Matrix to look at the true negatives and false positives.
• Concordance that helps identify the ability of the logistic model to differentiate between the event happening and not happening.
• Lift helps assess the logistic model by comparing it with random selection.

34. How will you define the number of clusters in a clustering algorithm?
Ans.Though the Clustering Algorithm is not specified, this question will mostly be asked in reference to K-Means clustering where “K” defines the number of clusters. The objective of clustering is to group similar entities in a way that the entities within a group are similar to each other but the groups are different from each other.
For example, the following image shows three different groups.
Within Sum of squares is generally used to explain the homogeneity within a cluster. If you plot WSS for a range of number of clusters, you will get the plot shown below. The Graph is generally known as Elbow Curve.
Red circled point in above graph i.e. Number of Cluster =6 is the point after which you don’t see any decrement in WSS. This point is known as bending point and taken as K in K – Means.
This is the widely used approach but few data scientists also use Hierarchical clustering first to create dendograms and identify the distinct groups from there.

35. Is it possible to perform logistic regression with Microsoft Excel?
Ans.It is possible to perform logistic regression with Microsoft Excel. There are two ways to do it using Excel.
• One is to use Add-ins provided by many websites which we can use.
• Second is to use fundamentals of logistic regression and use Excel’s computational power to build a logistic regression

But when this question is being asked in an interview, interviewer is not looking for a name of Add-ins rather a method using the base excel functionalities. Let’s use a sample data to learn about logistic regression using Excel. (Example assumes that you are familiar with basic concepts of logistic regression). Data shown above consists of three variables where X1 and X2 are independent variables and Y is a class variable. We have kept only 2 categories for our purpose of binary logistic regression classifier.
Next we have to create a logit function using independent variables, i.e.

Logit = L = â0 + â1*X1 + â2*X2

36. You created a predictive model of a quantitative outcome variable using multiple regressions. What are the steps you would follow to validate the model?
Ans.Since the question asked, is about post model building exercise, we will assume that you have already tested for null hypothesis, multi collinearity and Standard error of coefficients.
Once you have built the model, you should check for following –
– Global F-test to see the significance of group of independent variables on dependent variable
– R^2
– Adjusted R^2
– RMSE, MAPE
In addition to above mentioned quantitative metrics you should also check for-
– Residual plot
– Assumptions of linear regression

37. Give some situations where you will use an SVM over a RandomForest Machine Learning algorithm and vice-versa.
Ans.SVM and Random Forest are both used in classification problems.
a) If you are sure that your data is outlier free and clean then go for SVM. It is the opposite – if your data might contain outliers then Random forest would be the best choice.
b) Generally, SVM consumes more computational power than Random Forest, so if you are constrained with memory go for Random Forest machine learning algorithm.
c) Random Forest gives you a very good idea of variable importance in your data, so if you want to have variable importance then choose Random Forest machine learning algorithm.
d) Random Forest machine learning algorithms are preferred for multiclass problems.
e) SVM is preferred in multi-dimensional problem set – like text classification but as a good data scientist, you should experiment with both of them and test for accuracy or rather you can use ensemble of many Machine Learning techniques.

***************************************************************************************************
Data Science R programming Interview Questions
38. What do you understand by element recycling in R?
Ans.If two vectors with different lengths perform an operation –the elements of the shorter vector will be re-used to complete the operation. This is referred to as element recycling.
Example – Vector A <-c(1,2,0,4) and Vector B<-(3,6) then the result of A*B will be ( 3,12,0,24). Here 3 and 6 of vector B are repeated when computing the result.

39. How can you verify if a given object “X” is a matrix data object?
Ans.If the function call is.matrix(X) returns true then X can be considered as a matrix data object otheriwse not.

40. How will you measure the probability of a binary response variable in R language?
Ans.Logistic regression can be used for this and the function glm () in R language provides this functionality.

41. What is the use of sample and subset functions in R programming language?
Ans.Sample () function can be used to select a random sample of size ‘n’ from a huge dataset.
Subset () function is used to select variables and observations from a given dataset.

42. There is a function fn(a, b, c, d, e) a + b * c – d / e.
Ans.Write the code to call fn on the vector c(1,2,3,4,5) such that the output is same as fn(1,2,3,4,5).
do.call (fn, as.list(c (1, 2, 3, 4, 5)))

43. How can you resample statistical tests in R language?
Ans.Coin package in R provides various options for re-randomization and permutations based on statistical tests. When test assumptions cannot be met then this package serves as the best alternative to classical methods as it does not assume random sampling from well-defined populations.

44. What is the purpose of using Next statement in R language?
Ans.If a developer wants to skip the current iteration of a loop in the code without terminating it then they can use the next statement. Whenever the R parser comes across the next statement in the code, it skips evaluation of the loop further and jumps to the next iteration of the loop.

45. How will you create scatterplot matrices in R language?
Ans.A matrix of scatterplots can be produced using pairs. Pairs function takes various parameters like formula, data, subset, labels, etc.
The two key parameters required to build a scatterplot matrix are –
• formula- A formula basically like ~a+b+c . Each term gives a separate variable in the pairs plots where the terms should be numerical vectors. It basically represents the series of variables used in pairs.
• data- It basically represents the dataset from which the variables have to be taken for building a scatterplot.

46. How will you check if an element 25 is present in a vector?
Ans.There are various ways to do this-
i. It can be done using the match () function- match () function returns the first appearance of a particular element.
ii. The other is to use %in% which returns a Boolean value either true or false.
iii. Is.element () function also returns a Boolean value either true or false based on whether it is present in a vector or not.

47. What is the difference between library() and require() functions in R language?
Ans.There is no real difference between the two if the packages are not being loaded inside the function. require () function is usually used inside function and throws a warning whenever a particular package is not found. On the flip side, library () function gives an error message if the desired package cannot be loaded.
***************************************************************************************************
Data Science R Programming
48. What are the rules to define a variable name in R programming language?
Ans.A variable name in R programming language can contain numeric and alphabets along with special characters like dot (.) and underline (-). Variable names in R language can begin with an alphabet or the dot symbol. However, if the variable name begins with a dot symbol it should not be a followed by a numeric digit.

49. What do you understand by a workspace in R programming language?
Ans.The current R working environment of a user that has user defined objects like lists, vectors, etc. is referred to as Workspace in R language.

50. Which function helps you perform sorting in R language?
Ans.Order ()

51. How will you list all the data sets available in all R packages?
Ans.Using the below line of code-
data(package = .packages(all.available = TRUE))

52. Which function is used to create a histogram visualisation in R programming language?
Ans.Hist()

53. Write the syntax to set the path for current working directory in R environment?
Ans.Setwd(“dir_path”)

54. How will you drop variables using indices in a data frame?
Ans.Let’s take a dataframe df<-data.frame(v1=c(1:5),v2=c(2:6),v3=c(3:7),v4=c(4:8))
df
## v1 v2 v3 v4
## 1 1 2 3 4
## 2 2 3 4 5
## 3 3 4 5 6
## 4 4 5 6 7
## 5 5 6 7 8

Suppose we want to drop variables v2 & v3 , the variables v2 and v3 can be dropped using negative indicies as follows-
df1<-df[-c(2,3)]
df1
## v1 v4
## 1 1 4
## 2 2 5
## 3 3 6
## 4 4 7
## 5 5 8

55. What will be the output of runif (7)?
Ans.It will generate 7 randowm numbers between 0 and 1.

56. What is the difference between rnorm and runif functions ?
Ans.rnorm function generates “n” normal random numbers based on the mean and standard deviation arguments passed to the function.
Syntax of rnorm function – rnorm(n, mean = , sd = )

runif function generates “n” unform random numbers in the interval of minimum and maximum values passed to the function.
Syntax of runif function –

runif(n, min = , max = )

57. What will be the output on executing the following
Ans.R programming code – mat<-matrix(rep(c(TRUE,FALSE),8),nrow=4)
    sum(mat)
    8
***************************************************************************************************
Data Science R Programming Interview Questions
58. How will you combine multiple different string like “Data”, “Science”, “in” ,“R”, “Programming” as a single string “Data_Science_in_R_Programmming” ?
Ans.paste(“Data”, “Science”, “in” ,“R”, “Programming”,sep=”_”)

59. Write a function to extract the first name from the string
Ans.“Mr. Tom White”. substr (“Mr. Tom White”,start=5, stop=7)

60. Can you tell if the equation given below is linear or not? Emp_sal= 2000+2.5(emp_age)2
Ans.Yes it is a linear equation as the coefficients are linear.

61. What will be the output of the following R programming code? var2<- c(“I”,”Love,”DeZyre”)
Ans.var2
It will give an error.

62. What will be the output of the following R programming code? x<-5
Ans. if(x%%2==0)
    print(“X is an even number”) else
    print(“X is an odd number”)
    Executing the above code will result in an error as shown below –
    ## Error: :4:1: unexpected ‘else’
    ## 3: print(“X is an even number”)
    ## 4: else
    ## ^

R programming language does not know if the else related to the first ‘if’ or not as the first if() is a complete command on its own.

63. I have a string “contact@dezyre.com”. Which string function can be used to split the string into two different strings “contact@dezyre” and “com” ?
Ans.This can be accomplished using the strsplit function which splits a string based on the identifier given in the function call. The output of strsplit() function is a list.

    strsplit(“contact@dezyre.com”,split = “.”)
    Output of the strsplit function is –
    ## [[1]]
    ## [1] ” contact@dezyre” “com”

64. What is R Base package?
Ans.R Base package is the package that is loaded by default whenever R programming environent is loaded .R base package provides basic fucntionalites in R environment like arithmetic calcualtions, input/output.

65. How will you merge two dataframes in R programming language?
Ans.Merge () function is used to combine two dataframes and it identifies common rows or columns between the 2 dataframes. Merge () function basically finds the intersection between two different sets of data.
Merge () function in R language takes a long list of arguments as follows – Syntax for using Merge function in R language –
merge (x, y, by.x, by.y, all.x or all.y or all )
• X represents the first dataframe.
• Y represents the second dataframe.
• by.X- Variable name in dataframe X that is common in Y.
• by.Y- Variable name in dataframe Y that is common in X.
• all.x – It is a logical value that specifies the type of merge. all.X should be set to true, if we want all the observations from dataframe X . This results in Left Join.
• all.y – It is a logical value that specifies the type of merge. all.y should be set to true , if we want all the observations from dataframe Y . This results in Right Join.
• all – The default value for this is set to FALSE which means that only matching rows are returned resulting in Inner join. This should be set to true if you want all the observations from dataframe X and Y resulting in Outer join.

66. Write the R programming code for an array of words so that the output is displayed in decreasing frequency order.
Ans.R Programming Code to display output in decreasing frequency order

    tt <- sort(table(c(“a”, “b”, “a”, “a”, “b”, “c”, “a1”, “a1”, “a1”)), dec=T)
    depth <- 3 tt[1:depth]
    Output –
    1) a a1 b
    2) 3 3 2

67. How to check the frequency distribution of a categorical variable?
Ans.The frequency distribution of a categorical variable can be checked using the table function in R language. Table () function calculates the count of each categories of a categorical variable.

    gender=factor(c(“M”,”F”,”M”,”F”,”F”,”F”))
    table(sex)
    Output of the above R Code – Gender
    F M 4 2

Programmers can also calculate the % of values for each categorical group by storing the output in a dataframe and applying the column percent function as shown below –

    t = data.frame(table(gender))
    t$percent= round(t$Freq / sum(t$Freq)*100,2)
    Gender

    Frequency
    Percent
    F

    4
    66.67
    M

    2
    33.33

68. What is the procedure to check the cumulative frequency distribution of any categorical variable?
Ans.The cumulative frequency distribution of a categorical variable can be checked using the cumsum () function in R language.

    gender = factor(c(“f”,”m”,”m”,”f”,”m”,”f”))
    y = table(gender)
    cumsum(y)
    Output of the above R code-
    Cumsum(y)
    f m 3 3

69. What will be the result of multiplying two vectors in R having different lengths?
Ans.The multiplication of the two vectors will be performed and the output will be displayed with a warning message like – “Longer object length is not a multiple of shorter object length.” Suppose there is a vector a<-c (1, 2, 3) and vector b <- (2, 3) then the multiplication of the vectors a*b will give the resultant as 2 6 6 with the warning message. The multiplication is performed in a sequential manner but since the length is not same, the first element of the smaller vector b will be multiplied with the last element of the larger vector a.

70. R programming language has several packages for data science which are meant to solve a specific problem, how do you decide which one to use?
Ans.CRAN package repository in R has more than 6000 packages, so a data scientist needs to follow a well-defined process and criteria to select the right one for a specific task. When looking for a package in the CRAN repository a data scientist should list out all the requirements and issues so that an ideal R package can address all those needs and issues.
The best way to answer this question is to look for an R package that follows good software development principles and practices. For example, you might want to look at the quality documentation and unit tests. The next step is to check out how a particular R package is used and read the reviews posted by other users of the R package. It is important to know if other data scientists or data analysts have been able to solve a similar problem as that of yours. When you in doubt choosing a particular R package, I would always ask for feedback from R community members or other colleagues to ensure that I am making the right choice.

71. How can you merge two data frames in R language?
Ans.Data frames in R language can be merged manually using cbind () functions or by using the merge () function on common rows or columns.

72. Explain the usage of which() function in R language.
which() function determines the postion of elemnts in a logical vector that are TRUE. In the below example, we are finding the row number wherein the maximum value of variable v1 is recorded.
mydata=data.frame(v1 = c(2,4,12,3,6)) which(mydata$v1==max(mydata$v1))

It returns 3 as 12 is the maximum value and it is at 3rd row in the variable x=v1.

73. How will you convert a factor variable to numeric in R language?
Ans.A factor variable can be converted to numeric using the as.numeric() function in R language. However, the variable first needs to be converted to character before being converted to numberic because the as.numeric() function in R does not return original values but returns the vector of the levels of the factor variable.

    X <- factor(c(4, 5, 6, 6, 4))
    X1 = as.numeric(as.character(X))

***************************************************************************************************
Data Science Python Interview Questions
74. Write a function that takes in two sorted lists and outputs a sorted list that is their union.
Ans.First solution which will come to your mind is to merge two lists and short them afterwards
Python code

    def return_union(list_a, list_b): return sorted(list_a + list_b)
    R code-
    return_union <- function(list_a, list_b)
    {
    list_c<-list(c(unlist(list_a),unlist(list_b))) return(list(list_c[[1]][order(list_c[[1]])]))
    }
    Generally, the tricky part of the question is not to use any sorting or ordering function. In that case you will have to write your own logic to answer the question and impress your interviewer.
    Python code-
    def return_union(list_a, list_b):
    len1 = len(list_a)
    len2 = len(list_b)
    final_sorted_list = []
    j = 0
    k = 0
    for i in range(len1+len2):
    if k == len1:
    final_sorted_list.extend(list_b[j:])
    break
    elif j == len2:
    final_sorted_list.extend(list_a[k:])
    break
    elif list_a[k] < list_b[j]:
    final_sorted_list.append(list_a[k])
    k += 1
    else:
    final_sorted_list.append(list_b[j])
    j += 1
    return final_sorted_list
    Similar function can be returned in R as well by following the similar steps.
    return_union <- function(list_a,list_b)
    {
    #Initializing length variables
    len_a <- length(list_a)
    len_b <- length(list_b)
    len <- len_a + len_b
    #initializing counter variables
    j=1
    k=1
    #Creating an empty list which has length equal to sum of both the lists
    list_c <- list(rep(NA,len)) #Here goes our for loop for(i in 1:len) { if(j>len_a)
    {
    list_c[i:len] <- list_b[k:len_b] break } else if(k>len_b)
    {
    list_c[i:len] <- list_a[j:len_a]
    break
    }
    else if(list_a[[j]] <= list_b[[k]])
    {
    list_c[[i]] <- list_a[[j]]
    j <- j+1 } else if(list_a[[j]] > list_b[[k]])
    {
    list_c[[i]] <- list_b[[k]]
    k <- k+1
    }
    }
    return(list(unlist(list_c)))
    }

75. Name a few libraries in Python used for Data Analysis and Scientific computations.
Ans.NumPy, SciPy, Pandas, SciKit, Matplotlib, Seaborn

76. Which library would you prefer for plotting in Python language: Seaborn or Matplotlib?
Ans.Matplotlib is the python library used for plotting but it needs lot of fine-tuning to ensure that the plots look shiny. Seaborn helps data scientists create statistically and aesthetically appealing meaningful plots. The answer to this question varies based on the requirements for plotting data.

77. Which method in pandas.tools.plotting is used to create scatter plot matrix?
Ans.Scatter_matrix

78. How can you check if a data set or time series is Random?
Ans.To check whether a dataset is random or not use the lag plot. If the lag plot for the given dataset does not show any structure then it is random.

79. What are the possible ways to load an array from a text data file in Python? How can the efficiency of the code to load data file be improved?
Ans.numpy.loadtxt ()

80. Which is the standard data missing marker used in Pandas?
Ans.NaN

81. Which Python library would you prefer to use for Data Munging?
Ans.Pandas

82. Write the code to sort an array in NumPy by the nth column?
Ans.Using argsort () function this can be achieved. If there is an array X and you would like to sort the nth column then code for this will be x[x [: n-1].argsort ()]

83. Which python library is built on top of matplotlib and Pandas to ease data plotting?
Ans.Seaborn

84. Which plot will you use to access the uncertainty of a statistic?
Ans.Bootstrap

85. What is pylab?
Ans.A package that combines NumPy, SciPy and Matplotlib into a single namespace.

86. Which python library is used for Machine Learning?
Ans.SciKit-Learn

87. How can you copy objects in Python?
Ans.    a. The functions used to copy objects in Python are-
    b. Copy.copy () for shallow copy
    c. Copy.deepcopy () for deep copy
    d. However, it is not possible to copy all objects in Python using these functions. For instance, dictionaries have a separate copy method whereas sequences in Python have to be copied by ‘Slicing’.

88. What is the difference between tuples and lists in Python?
Ans.Tuples can be used as keys for dictionaries i.e. they can be hashed. Lists are mutable whereas tuples are immutable – they cannot be changed. Tuples should be used when the order of elements in a sequence matters. For example, set of actions that need to be executed in sequence, geographic locations or list of points on a specific route.

89. What is PEP8?
Ans.PEP8 consists of coding guidelines for Python language so that programmers can write readable code making it easy to use for any other person, later on.

90. Is all the memory freed when Python exits?
Ans.No, it is not, because the objects that are referenced from global namespaces of Python modules are not always de-allocated when Python exits.
Data Science Python Interview Questions- 2

91. What does _init_.py do?
Ans.a. init_.py is an empty py file used for importing a module in a directory. _init_.py provides an easy way to organize the files. If there is a module maindir/subdir/module.py,_init_.py is placed in all the directories so that the module can be imported using the following command-
b. import maindir.subdir.module

92. What is the different between range () and xrange () functions in Python?
Ans.range () returns a list whereas xrange () returns an object that acts like an iterator for generating numbers on demand.

93. How can you randomize the items of a list in place in Python?
Ans.Shuffle (lst) can be used for randomizing the items of a list in Python

94. What is a pass in Python?
Ans.Pass in Python signifies a no operation statement indicating that nothing is to be done.

95. If you are gives the first and last names of employees, which data type in Python will you use to store them?
Ans.You can use a list that has first name and last name included in an element or use Dictionary.

96. What happens when you execute the statement mango=banana in Python?
Ans.A name error will occur when this statement is executed in Python.

97. Optimize the below python code-word = ‘word’
Ans.a. print word.__len_()
b. Answer: print ‘word’._len_()

98. What is monkey patching in Python?
Ans.Monkey patching is a technique that helps the programmer to modify or extend other code at runtime. Monkey patching comes handy in testing but it is not a good practice to use it in production environment as debugging the code could become difficult.

99. What is pickling and unpickling?
Ans.Pickle module accepts any Python object and converts it into a string representation and dumps it into a file by using dump function, this process is called pickling. While the process of retrieving original Python objects from the stored string representation is called unpickling.

100. What are the tools that help to find bugs or perform static analysis?
Ans.PyChecker is a static analysis tool that detects the bugs in Python source code and warns about the style and complexity of the bug. Pylint is another tool that verifies whether the module meets the coding standard.

Python 3 Essential Training [VIDEO TUTORIALS]

01 -:Introduction:-
├ Welcome.mp4 - http://ceesty.com/w35yz5
├ Understanding prerequisites for Python.mp4 - http://ceesty.com/w35yzM
└ Using the exercise files.mp4 - http://ceesty.com/w35yzX
 
02 Python Quick Start:-
├ Getting started with _Hello World_.mp4 - http://ceesty.com/w35ylK
├ Selecting code with conditionals.mp4 - http://ceesty.com/w35yzj
├ Repeating code with a loop.mp4 - http://ceesty.com/w35yl2
├ Reusing code with a function.mp4 - http://ceesty.com/w35yzu
├ Creating sequences with generator functions.mp4 - http://ceesty.com/w35yzs
├ Reusing code and data with a class.mp4 - http://ceesty.com/w35yl7
├ Greater reusability with inheritance and polymorphism.mp4 - http://ceesty.com/w35yzw
└ Handling errors with exceptions.mp4 - http://ceesty.com/w35ylV
 
03 Setting Up Python:-
├ Installing Python 3 and Eclipse for Windows.mp4 - http://ceesty.com/w35ylr
└ Installing Python 3 and Eclipse for Mac.mp4 - http://ceesty.com/w35ylo
 
04 General Syntax:-
├ Creating a main script.mp4 - http://ceesty.com/w35ykT
├ Understanding whitespace in Python.mp4 - http://ceesty.com/w35ykP
├ Commenting code.mp4 - http://ceesty.com/w35ykx
├ Assigning values.mp4 - http://ceesty.com/w35ykh
├ Selecting code and values with conditionals.mp4 - http://ceesty.com/w35ykG
├ Creating and using functions.mp4 - http://ceesty.com/w35yka
└ Creating and using objects.mp4 - http://ceesty.com/w35ykm
 
05 Variables, Objects, and Values:-
├ Understanding variables and objects in Python.mp4 - http://ceesty.com/w35yjU
├ Distinguishing mutable and immutable objects.mp4 - http://ceesty.com/w35yjW
├ Using numbers.mp4 - http://ceesty.com/w35yjJ
├ Using strings.mp4 - http://ceesty.com/w35yjk
├ Aggregating values with lists and tuples.mp4 - http://ceesty.com/w35yjC
├ Creating associative lists with dictionaries.mp4 - http://ceesty.com/w35yjS
├ Finding the type and identity of a variable.mp4 - http://ceesty.com/w35yjd
└ Specifying logical values with True and False.mp4 - http://ceesty.com/w35yjv
 
06 Conditionals:-
├ Selecting code with if and else conditional statements .mp4 - http://ceesty.com/w35yhF
├ Setting multiple choices with elif.mp4 - http://ceesty.com/w35yhL
├ Understanding other strategies for multiple choices.mp4 - http://ceesty.com/w35yh3
└ Using the conditional expression.mp4 - http://ceesty.com/w35yhB
 
07 Loops:-
├ Creating loops with while.mp4 - http://ceesty.com/w35ygM
├ Iterating with for.mp4 - http://ceesty.com/w35yht
├ Enumerating iterators.mp4 - http://ceesty.com/w35yh0
└ Controlling loop flow with break, continue, and else.mp4 - http://ceesty.com/w35yg5
 
08 Operators:-
├ Performing simple arithmetic.mp4 - http://ceesty.com/w35ygj
├ Operating on bitwise values.mp4 - http://ceesty.com/w35ygs
├ Comparing values.mp4 - http://ceesty.com/w35ygQ
├ Operating on Boolean values.mp4 - http://ceesty.com/w35ygu
├ Operating on parts of a container with the slice operator.mp4 - http://ceesty.com/w35ygw
└ Understanding operator precedence.mp4 - http://ceesty.com/w35ygc

09 Regular Expressions:-
├ Using the re module.mp4 - http://ceesty.com/w35yfI
├ Searching with regular expressions.mp4 - http://ceesty.com/w35yfD
├ Replacing with regular expressions.mp4 - http://ceesty.com/w35yfE
└ Reusing regular expressions with re.compile.mp4 - http://ceesty.com/w35yfb
 
10 Exceptions:-
├ Learning how exceptions work.mp4 - http://ceesty.com/w35yfr
├ Handling exceptions.mp4 - http://ceesty.com/w35yd9
└ Raising exceptions.mp4 - http://ceesty.com/w35yfo
 
11 Functions:-
├ Defining functions.mp4 - http://ceesty.com/w35ys6
├ Using lists of arguments.mp4 - http://ceesty.com/w35ys1
├ Using named function arguments.mp4 - http://ceesty.com/w35ydq
├ Returning values from functions.mp4 - http://ceesty.com/w35ydy
└ Creating a sequence with a generator function.mp4 - http://ceesty.com/w35yda
 
12 Classes:-
├ Understanding classes and objects.mp4 - http://ceesty.com/w35ya0
├ Using methods.mp4 - http://ceesty.com/w35yaz
├ Using object data.mp4 - http://ceesty.com/w35ypX
├ Understanding inheritance.mp4 - http://ceesty.com/w35yp5
├ Applying polymorphism to classes.mp4 - http://ceesty.com/w35yat
├ Using generators.mp4 - http://ceesty.com/w35ypM
└ Using decorators.mp4 - http://ceesty.com/w35yag
 
13 String Methods:-
├ Understanding strings as objects.mp4 - http://ceesty.com/w35yiN
├ Working with common string methods.mp4 - http://ceesty.com/w35yi9
├ Formatting strings with str.format.mp4 - http://ceesty.com/w35yi4
├ Splitting and joining strings.mp4 - http://ceesty.com/w35yiZ
└ Finding and using standard string methods.mp4 - http://ceesty.com/w35yiG
 
14 Containers:-
├ Creating sequences with tuples and lists.mp4 - http://ceesty.com/w35yyO
├ Operating on sequences with built-in methods.mp4 - http://ceesty.com/w35yyn
├ Organizing data with dictionaries.mp4 - http://ceesty.com/w35yyR
└ Operating on character data with bytes and byte arrays.mp4 - http://ceesty.com/w35yuU
 
15 File I_O :-
├ Opening files.mp4 - http://ceesty.com/w35yrV
├ Reading and writing text files.mp4 - http://ceesty.com/w35yr2
└ Reading and writing binary files.mp4 - http://ceesty.com/w35yr7
 
16 Databases :-
├ Creating a database with SQLite 3.mp4 - http://ceesty.com/w35yro
├ Creating, retrieving, updating, and deleting records.mp4 - http://ceesty.com/w35ye9
└ Creating a database object.mp4 - http://ceesty.com/w35yrr
 
17 Modules :-
├ Using standard library modules.mp4 - http://ceesty.com/w35ywS
├ Finding third-party modules.mp4 - http://ceesty.com/w35ywJ
└ Creating a module.mp4 - http://ceesty.com/w35ywC
 
18 Debugging :-
├ Dealing with syntax errors.mp4 - http://ceesty.com/w35yqz
├ Dealing with runtime errors.mp4 - http://ceesty.com/w35yqO
├ Dealing with logical errors.mp4 - http://ceesty.com/w35yqg
└ Using unit tests.mp4 - http://ceesty.com/w35yqn
 
19 Building a Database Application :-
├ Normalizing a database interface.mp4 - http://ceesty.com/w35t97
├ Deconstructing a database application.mp4 - http://ceesty.com/w35t92
└ Displaying random entries from a database.mp4 - http://ceesty.com/w35y0w
 
20 Conclusion :-
└ Goodbye.mp4 - http://ceesty.com/w35t8y

Ex_Files_Python_3_EssT.zip - http://ceesty.com/w35t8T

Learning Python GUI Programming [VIDEO TUTORIALS]

01 Creating the GUI Form and Adding Widgets:-
├ Introduction to Python GUI.mp4 - http://ceesty.com/w343rx
├ Adding a label to the GUI form.mp4 - http://ceesty.com/w343rN
├ Creating buttons and text box widgets.mp4 - http://ceesty.com/w343r9
├ Exploring widgets.mp4 - http://ceesty.com/w343r4
├ Adding extra features.mp4 - http://ceesty.com/w343rZ
├ Adding several widgets in a loop.mp4 - http://ceesty.com/w343rG
 
02 Layout Management:-
├ Arranging several labels within a label frame.mp4 - http://ceesty.com/w343tE
├ Using padding to add space around widgets.mp4 - http://ceesty.com/w343t7
├ Expanding the GUI dynamically using widgets.mp4 - http://ceesty.com/w343tV
├ Aligning the GUI widgets by embedding frames within frames.mp4 - http://ceesty.com/w343yu
├ Creating menu bars.mp4 - http://ceesty.com/w343yw
├ Creating tabbed widgets.mp4 - http://ceesty.com/w343ys
└ Using the grid layout manager.mp4 - http://ceesty.com/w343t2
 
03 Look and Feel Customization:-
├ Creating message boxes.mp4 - http://ceesty.com/w343yX
├ Creating independent message boxes.mp4 - http://ceesty.com/w343yc
├ Creating the title and icon of the main root window.mp4 - http://ceesty.com/w343yH
├ Using a spinbox control.mp4 - http://ceesty.com/w343yQ
└ Creating tooltips and using the canvas widget.mp4 - http://ceesty.com/w343yY
 
04 Data and Classes:-
├ Using the StringVar() type.mp4 - http://ceesty.com/w343uR
├ Using module-level global variables.mp4 - http://ceesty.com/w343uF
├ Improving the GUI by coding in classes.mp4 - http://ceesty.com/w343uL
└ Creating reusable GUI components.mp4 - http://ceesty.com/w343uO
 
05 Matplotlib Charts:-
├ Creating beautiful charts using Matplotlb.mp4 - http://ceesty.com/w343iC
├ Downloading modules for Matplotlb.mp4 - http://ceesty.com/w343ik
├ Creating our first chart.mp4 - http://ceesty.com/w343iJ
├ Placing labels on charts.mp4 - http://ceesty.com/w343iW
├ Giving the chart a legend.mp4 - http://ceesty.com/w343iU
├ Scaling charts.mp4 - http://ceesty.com/w343iv
└ Adjusting the scale dynamically.mp4 - http://ceesty.com/w343iS
 
06 Threads and Networking:-
├ Creating multiple threads.mp4 - http://ceesty.com/w343oq
├ Starting a thread.mp4 - http://ceesty.com/w343i6
├ Stopping a thread.mp4 - http://ceesty.com/w343oy
├ Using queues.mp4 - http://ceesty.com/w343oh
├ Passing queues among different modules.mp4 - http://ceesty.com/w343i1
├ Using dialog widgets to copy files to your network.mp4 - http://ceesty.com/w343ox
├ Using TCP_IP to communicate via networks.mp4 - http://ceesty.com/w343oa
└ Using URLOpen to read data from websites.mp4 - http://ceesty.com/w343om
 
07 Storing Data in Our MySQL Database via Our GUI:-
├ Connecting to a MySQL database from python.mp4 - http://ceesty.com/w343o4
├ Configuring the MySQL connection.mp4 - http://ceesty.com/w343po
├ Designing the Python GUI database.mp4 - http://ceesty.com/w343o9
├ Using the SQL INSERT command.mp4 - http://ceesty.com/w343oN
├ Using the SQL UPDATE command.mp4 - http://ceesty.com/w343pr
└ Using the SQL DELETE command.mp4 - http://ceesty.com/w343pf
 
08 Internationalization and Testing:-
├ Displaying widget text in different languages.mp4 - http://ceesty.com/w343p2
├ Changing the entire GUI language all at once.mp4 - http://ceesty.com/w343aQ
├ Localizing the GUI.mp4 - http://ceesty.com/w343ac
├ Preparing the GUI for internationalization.mp4 - http://ceesty.com/w343pV
├ Designing a GUI in an agile fashion.mp4 - http://ceesty.com/w343pI
├ Do we need to test the GUI code_.mp4 - http://ceesty.com/w343p7
├ Setting debug watches.mp4 - http://ceesty.com/w343pD
├ Configuring different debug output levels.mp4 - http://ceesty.com/w343as
├ Creating self-testing code using the Python __main__ section.mp4 - http://ceesty.com/w343au
├ Creating robust GUIs using unit tests.mp4 - http://ceesty.com/w343aw
└ Writing unit tests using the Eclipse PyDev IDE.mp4 - http://ceesty.com/w343pK
 
09 Extending Our GUI with the wxPython Library:-
├ Installing the wxPython library.mp4 - http://ceesty.com/w343s0
├ Creating our GUI.mp4 - http://ceesty.com/w343st
├ Adding controls.mp4 - http://ceesty.com/w343sp
├ Embedding the Tkinter and wxPython GUIs into each other.mp4 - http://ceesty.com/w343aX
├ Using Python to control two different GUI frameworks.mp4 - http://ceesty.com/w343aM
└ Communicating between the two connected GUIs.mp4 - http://ceesty.com/w343a5

10 Creating Amazing 3D GUIs with PyOpenGL and Pyglet:-
├ Pyopengl transforms our GUI.mp4 - http://ceesty.com/w343sR
├ Our GUI in 3D.mp4 - http://ceesty.com/w343sn
├ Pyglet transforms our GUI more easily than PyOpenGL.mp4 - http://ceesty.com/w343sF
└ Creating a slideshow using Tkinter.mp4 - http://ceesty.com/w343sO
 
11 Best Practices:-
├ Avoiding spaghetti code.mp4 - http://ceesty.com/w343dk
├ Using __init__ to connect modules.mp4 - http://ceesty.com/w343dv
├ Mixing fall-down and OOP coding.mp4 - http://ceesty.com/w343dS
├ When not to use OOP.mp4 - http://ceesty.com/w343dW
├ Using design patterns successfully.mp4 - http://ceesty.com/w343dU
└ Avoiding complexity.mp4 - http://ceesty.com/w343dJ

Ex_Files_Learning_Python_GUI.zip - http://ceesty.com/w343d1

Learn Python 3 from scratch to become a developer in demand [VIDEO TUTORIALS]

01 -:Introduction:-
└ Introduction.mp4 - http://ceesty.com/w341Yv
 
02 Setup And Configuration:-
├ Python Installation - Windows.mp4 - http://ceesty.com/w341UT
├ Configuration Of Python - Windows.mp4 - http://ceesty.com/w341Uy
├ Python Installation And Setup - Mac.mp4 - http://ceesty.com/w341Ux
├ Package Management Using PIP.mp4 - http://ceesty.com/w341Um
├ IDE Options For Python Development.mp4 - http://ceesty.com/w341Uh
└ Installing iPython.mp4 - http://ceesty.com/w341UP

03 Understanding Variables And Data Type:-
├ Python Terminal Walkthrough.mp4 - http://ceesty.com/w341IE
├ Understanding Objects And References.mp4 - http://ceesty.com/w341Os
├ Variables Rules.mp4 - http://ceesty.com/w341IV
├ Numbers Data Type And Math Operations.mp4 - http://ceesty.com/w341ID
├ Numbers - Exponentiation And Modulo.mp4 - http://ceesty.com/w341I2
├ Arithmetic Order Of Precedence.mp4 - http://ceesty.com/w341Ou
├ Boolean Data Type.mp4 - http://ceesty.com/w341I7
├ Working With Strings.mp4 - http://ceesty.com/w341Oj
├ String Methods - Part 1.mp4 - http://ceesty.com/w341Ib
├ String Methods - Part 2.mp4 - http://ceesty.com/w341Il
├ More String Slicing And Indexing.mp4 - http://ceesty.com/w341Ow
└ Strings Formatting.mp4 - http://ceesty.com/w341IK
 
04 Advanced Data Types:-
├ List And Accessing The Elements.mp4 - http://ceesty.com/w341Pn
├ List Methods.mp4 - http://ceesty.com/w341Pg
├ Working With Dictionary.mp4 - http://ceesty.com/w341Pt
├ Nested Dictionary.mp4 - http://ceesty.com/w341Pp
├ Dictionary Methods.mp4 - http://ceesty.com/w341P0
└ Working With Tuple.mp4 - http://ceesty.com/w341Pz
 
05 Comparison And Boolean Operators:-
├ Working With Comparators.mp4 - http://ceesty.com/w341Ak
├ Understanding Boolean Operators.mp4 - http://ceesty.com/w341Ad
└ Boolean Operators - Order Of Precedence.mp4 - http://ceesty.com/w341Ai
 
06 Program Control Flow:-
├ Conditional Logic - If Else Conditions.mp4 - http://ceesty.com/w341Sh
├ While Loop Demo.mp4 - http://ceesty.com/w341Sa
├ Break Continue And WhileElse.mp4 - http://ceesty.com/w341Sq
├ For Loop Demo.mp4 - http://ceesty.com/w341A6
├ Iterating Multiple Lists - Using the Zip Function.mp4 - http://ceesty.com/w341Sx
└ Using Range Function In For Loop.mp4 - http://ceesty.com/w341Sy
 
07 Methods - Working With Reusable Code:-
├ Understanding Methods.mp4 - http://ceesty.com/w341S4
├ Working With Return Values.mp4 - http://ceesty.com/w341Dl
├ Working With Positional Optional Parameters.mp4 - http://ceesty.com/w341Do
├ Understanding Variable Scope.mp4 - http://ceesty.com/w341Dr
├ More Built-In Functions.mp4 - http://ceesty.com/w341S9
└ Exercise With Solution Homework .mp4 - http://ceesty.com/w341Df
 
08 Classes - Object Oriented Programming:-
├ Understanding Objects Classes.mp4 - http://ceesty.com/w341Zn
├ Create Your Own Object.mp4 - http://ceesty.com/w341Xd
├ Create Your Own Methods.mp4 - http://ceesty.com/w341Z8
├ Inheritance.mp4 - http://ceesty.com/w341Xi
├ Method Overriding.mp4 - http://ceesty.com/w341Xk
└ Exercise With Solution Homework .mp4 - http://ceesty.com/w341Xe
 
09 Exception Handling:-
├ Exception Handling Demo.mp4 - http://ceesty.com/w341Cy
├ Finally And Else Block.mp4 - http://ceesty.com/w341Ca
└ Exercise With Solution Homework .mp4 - http://ceesty.com/w341Ch
 
10 Modules:-
├ Builtin Modules.mp4 - http://ceesty.com/w341CG
└ Create Your Own Modules.mp4 - http://ceesty.com/w341CP
 
11 Conclusion:-
└ BONUS Whats Next and other cool free stuff.mp4 - http://ceesty.com/w341Vr

Popular Posts

Latest Posts

Blog Archive