Voici une réponse possible :
import pandas as pd from tabulate import tabulate df = pd.read_excel('C:/Users/Georges/Downloads/Clients.xlsx', sheet_name='Clients', engine='openpyxl', usecols=['Nom', 'Prénom', 'Email']) print(tabulate(df.head(10), headers='keys', tablefmt='psql', showindex=True))
Bien sûr il vous faudra changer le chemin du fichier !
Le nom de l'onglet, ainsi que les champs à afficher, peuvent être précisés comme ici, mais il y a aussi d'autres techniques !