Functional changes to match pandas:
# New
def imagetocsv(
file: str,
index_name: str | None = None,
index: list[str] | None = None,
columns: list[str] | None = None,
) -> pd.DataFrame:
# old
def imagetocsv(
file: str,
index_name: str | None = None,
column_header: list[str] | str | None = None,
index: list[str] | None = None,
) -> pd.DataFrame:
Outline:
- Documents and comments add
- Typing completed
- commands/options updated for better logic