Prepstellar

Data Analysis Fundamentals · Practice set 1 of 6

Pandas for Tabular Analysis: 10 practice questions

10 questions · Untimed · Free

10 free Data Analysis Fundamentals practice questions on Pandas for Tabular Analysis, with an explanation for every answer. Untimed. The full mock exam and the timed version are in the app.

Set 1 · Pandas for Tabular Analysis · 10 questions Read the lesson
  1. Question 1 of 10

    Which pandas object represents a two-dimensional table with rows and columns?

    1. AA Series with two independent column axes
    2. BA scalar carrying multiple heterogeneous columns
    3. CA DataFrame with labeled rows and columns
    4. DAn Index containing every table value
    Show the answer

    A DataFrame is the two-dimensional pandas structure and can keep a separate type for each column.

    Next → 1 / 10
  2. Question 2 of 10

    What gives a Series value identity beyond its numeric position?

    1. AIts column position in a second axis
    2. BIts display order after every operation
    3. CIts associated label within the Index
    4. DIts conversion to an unlabeled array
    Show the answer

    The Index connects each Series value to a label that computations can use for alignment.

    Next → 2 / 10
  3. Question 3 of 10

    How do arithmetic operations between Series pair their values by default?

    1. AThey align values according to their Index labels
    2. BThey pair values by displayed row position
    3. CThey require identical ordering before any calculation
    4. DThey discard labels before calculating values
    Show the answer

    Series arithmetic follows labels, so order alone does not decide which observations are paired.

    Next → 3 / 10
  4. Question 4 of 10

    Two numeric Series have unique but different index labels. Which labels appear in the result when you add them with `+`?

    1. AThe left Series labels with all values filled
    2. BA new range based on the longer Series
    3. CThe intersection with unmatched labels removed
    4. DThe union containing labels from both Series
    Show the answer

    Addition aligns on the labels and keeps the union of both indexes; a label held by only one input yields a missing result.

    Next → 4 / 10
  5. Question 5 of 10

    Which conventional statement loads pandas under the alias used in its beginner guide?

    1. Aimport pandas as pd
    2. Bfrom DataFrame import pd
    3. Cload pandas into Index
    4. Dimport Series as pandas
    Show the answer

    The standard convention imports the pandas package and binds the short name pd.

    Next → 5 / 10
  6. Keep the ones you got wrong

    In the app, every question you miss comes back exactly when you’re about to forget it.

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play Download on the App Store
  7. Question 6 of 10

    Which structure best fits one labeled sequence of daily temperatures?

    1. AA Series indexed by the day labels
    2. BA scalar repeated without any day labels
    3. CAn Index used as the temperature values
    4. DA DataFrame with no rows or columns
    Show the answer

    One measurement sequence with day labels has the one-dimensional shape of a Series.

    Next → 6 / 10
  8. Question 7 of 10

    Two Series contain no missing values before addition, but only the first contains `Mar`. What will the aligned result contain at `Mar`?

    1. AA new RangeIndex entry replacing the `Mar` label
    2. BA missing value because `Mar` has no match in the second Series
    3. CA positional match with the second Series value at the same offset
    4. DThe first Series value copied unchanged because `Mar` exists there
    Show the answer

    Aligned addition uses the union of labels; a label absent from one non-missing input produces a missing result.

    Next → 7 / 10
  9. Question 8 of 10

    Two monthly Series arrive in different orders, and one lacks March. You must add matching months without hiding the missing observation. What should you rely on?

    1. ADisplayed position, which pairs the first rows and drops March
    2. BLabel alignment, which pairs months and leaves March missing
    3. CArray conversion, which preserves labels and fills March
    4. DRangeIndex replacement, which restores the absent month automatically
    Show the answer

    Label alignment satisfies both constraints: order does not control pairing, and the unmatched March label remains visible with a missing result.

    Next → 8 / 10
  10. Question 9 of 10

    A dataset has many observations, named variables, and different types across variables. Which representation preserves both the table shape and variable types?

    1. AA scalar whose repeated value stands for each typed variable
    2. BA Series with every variable forced into one labeled dimension
    3. CAn Index containing observations, variables, and values together
    4. DA DataFrame with observations as rows and variables as columns
    Show the answer

    A DataFrame provides two labeled dimensions and permits its columns to retain different data types.

    Next → 9 / 10
  11. Question 10 of 10

    An analyst must subtract one regional measure from another when the row order differs, and must retain regions present in just one input. Which model best meets both needs?

    1. ASeries converted to arrays before their labels are compared
    2. BUnlabeled arrays paired by their current row positions
    3. CScalar values repeated over the left input positions
    4. DLabeled Series aligned over the union of region labels
    Show the answer

    Subtracting aligned Series matches the same region labels despite the order and keeps unmatched regions in the union with a missing result.

    Next → 10 / 10
  12. You’ve finished this set

    That’s 10 questions on Pandas for Tabular Analysis. In the app the ones you miss come back exactly when you’re about to forget them.

    Back to the course Next lesson: Core Pandas Vocabulary

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play Download on the App Store

The whole course, on your computer and your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.

Opens in your browser. Nothing to install.

Start studying

On your phone, with the same account

Get it on Google Play Download on the App Store

“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”

Abdelhak Y. Google Play review