Python Select Function In R Studio