← All ACP Flashcard Decks

Python Programming & Data Science Flashcards

6 cards from real ACP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 Python Programming & Data Science flashcards as text
  1. Which Python library is commonly used for data analysis?

    Answer: Pandas

    Pandas is a powerful Python library used for data manipulation and analysis, providing data structures like DataFrames and Series.

  2. What is the purpose of NumPy in Python?

    Answer: Handling multi-dimensional arrays

    NumPy provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on them.

  3. Which function in Pandas is used to read a CSV file?

    Answer: read_csv()

    The `read_csv()` function in Pandas allows users to import tabular data from CSV files into a DataFrame for analysis.

  4. What is the primary advantage of using Anaconda for Python data science?

    Answer: Includes pre-installed libraries and package management

    Anaconda provides an easy-to-use platform with pre-installed libraries, a package manager, and an isolated environment for data science projects.

  5. Which Python library is used for data visualization?

    Answer: Matplotlib

    Matplotlib is a widely-used Python library that allows users to create static, animated, and interactive visualizations of data.

  6. What is the primary use of Jupyter Notebook in Python?

    Answer: Creating interactive coding environments

    Jupyter Notebook provides an interactive environment for writing and running Python code, visualizing data, and documenting workflows.