Search Header Logo

UNIT-I: Introduction to Python Libraries and Pandas Series

Authored by Tanuja B

Computers

12th Grade

Used 1+ times

UNIT-I: Introduction to Python Libraries and Pandas Series
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

150 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement best describes a Python library?

A collection of Python modules providing ready-to-use functions for specific tasks

A standalone application that replaces the Python interpreter

A data file used only for plotting graphs

A hardware-specific driver package

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which library is commonly used for data manipulation and analysis, especially with Series and DataFrame?

matplotlib

numpy

pandas

statistics

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify a listed feature of the Pandas library.

Provides only unlabelled arrays

Supports label-based slicing and indexing

Requires manual memory management for arrays

Works only with scalar values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Pandas, which statement about a Series is correct?

It is a two-dimensional heterogeneous data structure

It is one-dimensional and has labelled index

It cannot be modified after creation

Its default positional index starts from 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct import statement to use standard shorthand names for Pandas and NumPy as shown.

import pandas as pd; import numpy as np

import pandas as np; import numpy as pd

import pandas; import numpy

from pandas import numpy

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A DataFrame in Pandas is described as which of the following?

One-dimensional homogeneous data with labelled index

Two-dimensional heterogeneous data with rows and columns like a sheet

A plotting interface for graphs

An immutable table that cannot add rows or columns

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When creating an empty Series using the Series() function without parameters, what is the dtype shown in the output example?

int64

object

float64

bool

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?