Language | Code | Purpose |
Python | dateipfad_csv = ‘…’ x_werte, y_werte = [], [] with open(dateipfad_csv, ‘r’) as file: for line in file: x, y = map(float, line.strip().split(‘,’)) # trennt die Koordinaten anhand des Kommas x_werte.append(x) y_werte.append(y) | Loading x,y values from a file |
Excel | =VLOOKUP(lookup_value, table_array, col_index_num=MATCH(2nd_lookup_value, table_array;lookup_type) + 1, [range_lookup] =SVERWEIS(Suchwert 1;Suchbereich 1;VERGLEICH(Suchwert 2;Suchbereich für Suchwert 2 ; 0)+1;FALSCH) | 2 way lookup |
Excel | =WRAPROWS(SORTBY(values;RANDARRAY(COUNTA(values))),number_of_columns) =ZEILENUMBRUCH(SORTIERENNACH(werte;ZUFALLSMATRIX(ANZAHL2(werte);1));zahl_der-spalten) | distribute a list of values into random columns |