randomly splits this dataframe with the provided weights

Solutions on MaxInterview for randomly splits this dataframe with the provided weights by the best coders in the world