metallurgy.write_csv(alloys: list | DataFrame, data: dict | None = None, properties: list[str] | None = None, filename: str = 'alloys')[source]

Creates a CSV file of alloy data.

Parameters:
alloys: list | DataFrame

Dataset of alloys to create a CSV file.

data: dict | None = None

Dictionary with keys being property names and values being lists of property values

properties: list[str] | None = None

List of properties to calculate for the alloys.

filename: str = 'alloys'

Name of the CSV file (will be suffixed with .csv).


Last update: Jun 08, 2023