Find Minimum Of Array Python Initialize Dataframe In R