0% found this document useful (0 votes)
9 views1 page

Python Programming For Data Science Important Questions-1

The document provides an overview of Python programming in the context of Data Science, highlighting its popularity due to simplicity and extensive libraries. It covers key concepts such as NumPy, Pandas, DataFrames, data visualization, machine learning, and CSV file handling. Additionally, it explains the differences between lists and arrays, as well as the nature of dictionaries in Python.

Uploaded by

nlikhith28
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Python Programming For Data Science Important Questions-1

The document provides an overview of Python programming in the context of Data Science, highlighting its popularity due to simplicity and extensive libraries. It covers key concepts such as NumPy, Pandas, DataFrames, data visualization, machine learning, and CSV file handling. Additionally, it explains the differences between lists and arrays, as well as the nature of dictionaries in Python.

Uploaded by

nlikhith28
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Python Programming for Data Science – Important

Questions with Answers


1. What is Python? Why is it popular in Data Science?
Python is a high-level, interpreted programming language. It is popular in Data Science due to its
simplicity, large libraries (NumPy, Pandas, Matplotlib, Scikit-learn), and strong community support.

2. What is NumPy?
NumPy is a Python library used for numerical computations. It provides support for arrays,
matrices, and mathematical functions.

3. Explain Pandas and its data structures.


Pandas is used for data manipulation and analysis. The main data structures are Series (1D) and
DataFrame (2D).

4. What is a DataFrame?
A DataFrame is a two-dimensional labeled data structure with rows and columns, similar to a table
in a database.

5. What is data visualization? Name libraries.


Data visualization is the graphical representation of data. Common libraries include Matplotlib,
Seaborn, and Plotly.

6. Difference between list and array.


Lists can store different data types, while arrays store similar data types and support vectorized
operations.

7. What is Machine Learning?


Machine Learning is a subset of AI where systems learn from data to make predictions or decisions
without explicit programming.

8. What is supervised learning?


Supervised learning uses labeled data to train models. Examples include Linear Regression and
Classification.

9. What is CSV file handling in Python?


CSV files can be read and written using Pandas read_csv() and to_csv() functions.

10. What is Python dictionary?


A dictionary stores data in key-value pairs and is mutable and unordered.

You might also like