[[Programming]] #programming --- Generate a random sequence of integers between $x$ and $y$ that is $z$ values long. ``` import random random_sequence = [random.randint(x, y) for _ in range(z)] random_sequence ``` --- Transpose vector (in this case 1D row vector in CSV). ``` df = pd.read_csv('sineCSV.csv', header=None).T ``` --- Remove characters, 0's as reading CSV. Append to df initialization. ``` .replace({'[()]': ''})#.replace(0, np.nan) ``` ---