See this notebook. Doesn't throw a non-supported error, but rather 'DataFrame' object has no attribute 'iloc'.
this is fixed as of https://github.com/databricks/koalas/commit/71fa23a2d59d9962ceb4f5eb80d1f44d765a071a
Note that the patch referred to by @HyukjinKwon does not include a working .iloc, just a better error message.
@brookewenig can you tell us more about which behaviour of .iloc you want? Since Koalas/Spark does not have an ordering of the rows, I am thinking of the following:
@thunterdb I do not want my code to break when going from Pandas -> Koalas.
This is why I think we should have a guide on "gotchas" when going from single node to distributed. A pandas user might not understand that Spark doesn't have this notion of ordering of rows.
I like both of your suggestions!
@ueshin do you think we can add this in 0.5?
If we limit the row access to .iloc[:10, ...] (head(10)) or .iloc[:, ...] (get all rows) as @thunterdb suggested, yes, we can do in 0.5.
Yes let's just do those two Tim suggested.
I'll work on this.
Most helpful comment
@thunterdb I do not want my code to break when going from Pandas -> Koalas.
This is why I think we should have a guide on "gotchas" when going from single node to distributed. A pandas user might not understand that Spark doesn't have this notion of ordering of rows.
I like both of your suggestions!