fix types and format
This commit is contained in:
parent
91d3237516
commit
b873eaf203
8 changed files with 117 additions and 172 deletions
|
|
@ -4,7 +4,9 @@ import pandas as pd
|
|||
|
||||
|
||||
def export_to_csv(
|
||||
listings: list[Listing], output_file: Path, columns: list[str]
|
||||
listings: list[Listing],
|
||||
output_file: Path,
|
||||
columns: list[str],
|
||||
) -> None:
|
||||
ds = [listing.dict_nicely() for listing in listings]
|
||||
df = pd.DataFrame(ds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue