PythonPython Snippets How to shift time in timedate index in pandas dataframe: How to sample n times from an object (e.g.) an array without replacement?