Notebook

Jun 27, 2024, 6:29 PM

Which college has the highest tuition?

import pandas as pd

# Load the CSV file into a DataFrame
file_path = '2022 US College Rankings.csv'
df = pd.read_csv(file_path)

df.head()
import pandas as pd

# Load the CSV file into a DataFrame
file_path = '2022 US College Rankings.csv'
df = pd.read_csv(file_path)

# Find the college with the highest tuition
top_tuition_college = df.loc[df['Tuition'].idxmax()]
top_tuition_college
The college with the highest tuition is Columbia University with a tuition fee of $63,530.