0% found this document useful (0 votes)
10 views13 pages

Practical File

The document outlines a series of programs focused on creating and manipulating data structures using NumPy and Pandas. Each program is numbered and includes a brief description of its functionality, such as creating arrays, dataframes, and handling CSV files. The outputs for each program are indicated but not detailed in the document.
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)
10 views13 pages

Practical File

The document outlines a series of programs focused on creating and manipulating data structures using NumPy and Pandas. Each program is numbered and includes a brief description of its functionality, such as creating arrays, dataframes, and handling CSV files. The outputs for each program are indicated but not detailed in the document.
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

PROGRAM – 1

(CREATE 2-DIMENSIONAL ARRAY USING NUMPY)

OUTPUT:

1
PROGRAM – 2
(CREATE AN ARRAY FOR THE GIVEN STRUCTURE)

OUTPUT:

2
PROGRAM – 3
(CREATE SERIES USING PANDAS)

OUTPUT:

3
PROGRAM – 4
(CREATE DATAFRAME USING ARRAY-LIST)

OUTPUT:

4
PROGRAM – 5
(CREATE DATAFRAME FROM LIST OF DICTIONARIES)

OUTPUT:

5
PROGRAM – 6
(CREATE DATAFRAME FROM NUMPY ARRAYS)

OUTPUT:

6
PROGRAM – 7
(CREATE DATAFRAME USING 1. NUMPY, [Link], [Link] OF DICTIONARY)

OUTPUT:

7
PROGRAM – 8
(CREATE DATAFRAME, DISPLAY AND PERFORM ADDITION & DELETION OF ROWS AND COLUMNS)

8
OUTPUT:

9
PROGRAM – 9
(CREATE DATAFRAME, DISPLAY FIRST 3 ROWS, LAST 2 ROWS, MISSING VALUES)

10
OUTPUT:

11
PROGRAM – 10 (I)
(CREATE DATAFRAME AND EXPORT IT TO CSV)

OUTPUT:

12
PROGRAM – 10 (II)
(IMPORT FROM CSV AND DISPLAY THE DATA USING DATAFRAME)

OUTPUT:

13

You might also like