Open deanm0000 opened 2 months ago
I'll take a look in a bit; I've started consolidating more of the common options into the top-level API for better clarity/consistency - this should lead to less need for the two options dicts, and a better overall user experience.
Description
I think everybody likes type hints but with
read_excel
we don't get type hints even for the default choice of calamine. With calamine the default I contend we should push those options through directly like this:and then do something like
That way when people do
pl.read_excel(
they will seeAlternatively, we could do classes such as
and then users could do
and at that point they'd get type hints from the class.
Of course then pl.read_excel needs to check if read_options is that class and do
to_dict