2つの圧縮されたリストを解凍する2つの方法の違いは何ですか?明示的なループを解凍する
assert isinstance(X, list)
assert isinstance(X[0], tuple)
assert isinstance(X[0][0], list)
assert isinstance(X[0][0][0], dict)
X_model = []
X_synth = []
for row in X:
X_model.append(row[0])
X_synth.append(row[1])
X_modelは今のdict
X_model, X_synth, = zip(*X)
のリストのリストであるX_modelはdicts のリストのタプルが結果は同じであってはならないのですか?