Assignment : Importing Libraries and Datasets
Goal: Learn to load a dataset into a pandas DataFrame.
Instructions:
Import the pandas library.
Load a CSV file named eocdivin.csv into a DataFrame called df.
Print "Dataset loaded successfully!" if the file loads without errors.
Python code:
import pandas as pd
df = pd.read_csv("ecodivin.csv")
print("Dataset loaded successfully!")