Here is the script to select the records between dates. This code should be little bit faster:
import pandas as pd
file_path = "file.xlsx" # Update with the correct file path
df = pd.read_excel(file_path)
# Please change the dates according to your need (04/01/2025 to 06/01/2025). If you don't need fname and lname please remove "["Fname"] + ["Lname"] + ".
selected_columns = df[["Fname"] + ["Lname"] + list(df.loc[:, "04/01/2025":"06/01/2025"].columns)]
print(selected_columns)
Output