import pandas as pd
def largest_orders(orders: pd.DataFrame) -> pd.DataFrame:
a=orders.groupby(['customer_number'])['order_number'].nunique().reset_index()
a=a[a['order_number']==a['order_number'].max()]
return a[['customer_number']]
import pandas as pd
def largest_orders(orders: pd.DataFrame) -> pd.DataFrame:
a=orders.groupby(['customer_number'])['order_number'].nunique().reset_index()
a=a[a['order_number']==a['order_number'].max()]
return a[['customer_number']]