Resampling arrays and dataframes
I’ve been experimenting with various different tools recently and for speed required smaller but representative data from my current project. Here are two ways of resampling an array by using only every nth line of the original array (python) or dataframe (R):
Python:
R:
Written on November 6, 2014