In R
if someone on SO posts a data frame as text:
x y
1 1 a
2 2 b
3 3 c
One would highlight and copy the data frame as is, and paste it into R to recreate it:
df <- read.table(text=" x y
1 1 a
2 2 b
3 3 c", header=TRUE)
What is the equivalent in Python to copy table-like data and paste to work with?