9.4 Practical Exercises
Exercise 1: Exploring the Math Library
Python's math library has several functions that can be used for mathematical operations. Try using the sqrt() function to find the square root of a number, and the ceil() and floor() functions to round a floating-point number up and down, respectively.
Exercise 2: Data Manipulation with Pandas
Create a DataFrame using the pandas library with any data of your choice. Try adding new rows and columns to it, and use the describe() function to get a statistical summary of the data.
Exercise 3: File Operations with os and shutil Libraries
Using the os and shutil libraries, create a new directory, write a text file in that directory, and then copy that file to a different directory.
These exercises will help you to understand and get comfortable with Python's standard library, and key libraries such as pandas, os, and shutil.