Python Programming
Articles to cater python programming syntax problems
- what is the difference between deep and shallow copies?
- What is the difference between classification and regression?
- how do you differentiate between append() and extend()?
- How will you merge elements in a sequence?
- While importing data from different sources, can the pandas library recognize dates?
- Explain how to delete a file in Python?
- What Is the Difference Between Del and Remove() on Lists?
- what is PIP?
- What Is the Purpose of the Pass Statement?
- How will you find the shape of any given NumPy array?
- What is differences between loc and iloc ?
- how do you define pandas dataframe?
- How would you remove all leading whitespace in a string?
- How would you replace all occurrences of a substring with a new string?
- How would you generate random numbers in python?
- What does the ‘is’ operator do?
- What does the // operator do?
- How do you display the contents of a text file in reverse order?
- Is python object-oriented or functional programming?
- Why is python used for data cleaning in data science?
- What is an iteration?
- Between Python and R, which one would you pick for text analytics, and why?
- Are there any tools for identifying bugs and performing static analysis in python?
- What is the use of help() and dir() functions?
- What is Python? What are the benefits of using Python
- What Is the Output Of: Print(__name__)?
- what differentiate between a package and a module in python?
- What is a dynamically typed language?
- What is main function in python? How do you invoke it?
- How will you efficiently load data from a text file?
- What is the use of self in Python?
- What is PYTHONPATH in Python?
- How is Memory managed in Python?
- What Is the Difference Between Matrices and Arrays?
- How Can You Check Whether a Pandas Dataframe Is Empty or Not?
- How Do You Keep Only the Top Two Most Frequent Values as It Is and Replace Everything Else as ‘other’ in a Series?
- How Do You Get the Items Not Common to Both Series a and Series B?
- How Is Multithreading Achieved in Python?
- Can you easily check if all characters in the given string is alphanumeric?
- What are the steps to create 1D, 2D and 3D arrays?
- Can you get items of series A that are not available in another series B?
- What is pickling and unpickling?
- How do you copy an object in Python?
- What are decorators in Python?
- Explain how can you make a Python Script executable on Unix?
- What are unit tests in Python?
- What are lambda functions?
- How will you delete indices, rows and columns from a dataframe?
- Can you create a series from the dictionary object in pandas?
- Differentiate between new and override modifiers.
- Is it possible to call parent class without its instance creation?
- Are access specifiers used in python?
- Explain how to delete a file in Python?
- How are arguments passed by value or by reference in python?
- What is break, continue and pass in Python?
- What is docstring in Python?
- What is the difference between xrange and range in Python?
- What does *args and **kwargs mean?
- How will you reverse the numpy array using one line of code?
- How will you find the nearest value in a given numpy array?
- What do you understand by reindexing in pandas?
- What do you understand by NumPy?
- What are Python namespaces? Why are they used?
- What are negative indexes and why are they used?
- How will you sort the array based on the Nth column?
- What is init method in python?
- How is an empty class created in python?
- How does inheritance work in python?
- How is memory managed in Python?
- How Do You Use Print() Without the Newline?
- What is the difference between .py and .pyc files?
- What is the difference between Python Arrays and lists?
- What are iterators in Python?
- What is slicing in Python?
- How will you read CSV data into an array in NumPy?
- How will you delete indices, rows and columns from a dataframe?
- How will you identify and deal with missing values in a dataframe?
- How will you combine different pandas dataframes ?
- What are generators in Python?
- What are global, protected and private attributes in Python?
- What are lists and tuples? What is the key difference between the two? What are the common built-in data types in Python?