Machine Learning, NLP, Artificial Intelligence, Machine Intelligence, Tutorial.
val in distribs.keys(): temp = val.split("|") rows.add(temp[0]) cols.add(temp[1]) rows = list(rows) cols = list(cols) df = [] for i in range(len(rows)): temp = [] for j in range(len(cols)): temp.append(distribs[rows[i]+"|"+cols[j]]) df.append(temp) I = pd.Index(rows, name="rows") C = pd.Index(cols,