Logistic Regression
Logistic Regression
# Display the first few rows and summary of the DataFrame to understand its
structure
print(df.head()) # Shows the first five rows of the dataset
print(df.info()) # Provides a summary of the dataset, including columns and data
types