TypeHinting
This commit is contained in:
@@ -18,7 +18,7 @@ class Export:
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def matrix_to_csv(dateiname: str, liste_spaltenbeschriftung: list, liste_zeilenbeschriftung: list, Matrix: np.matrix | sp.Matrix,
|
||||
def matrix_to_csv(dateiname: str, liste_spaltenbeschriftung: list, liste_zeilenbeschriftung: list, Matrix: np.ndarray | sp.Matrix,
|
||||
beschriftung_kopfzeile: object = "") -> None:
|
||||
"""Schreibt eine Matrix mit Zeilen- und Spaltenbeschriftungen in eine CSV-Datei.
|
||||
|
||||
@@ -33,7 +33,7 @@ class Export:
|
||||
:param liste_zeilenbeschriftung: Liste der Zeilenbeschriftungen.
|
||||
:type liste_zeilenbeschriftung: list
|
||||
:param Matrix: Zu exportierende Matrix.
|
||||
:type Matrix: np.matrix | sp.Matrix
|
||||
:type Matrix: np.ndarray | sp.Matrix
|
||||
:param beschriftung_kopfzeile: Optionaler Eintrag in der linken oberen Zelle der Kopfzeile.
|
||||
:type beschriftung_kopfzeile: object
|
||||
:return: None
|
||||
|
||||
Reference in New Issue
Block a user