3
I wanted to know how to apply the logic of R to Python. For example: If I enter the code below in R:
x <- data.frame()
for (i in 1:10) {
x[i,1] <- i
}
It will create in the date.frame x a column, and will fill it with the numbers from 1 to 10, and will end up creating 10 lines I would like to apply the same logic to python