You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My propesed solution for step 11 is: food.iloc[:, 7][18]
instead of: food.values[18][7]
Picking an index from a Series works much faster than picking it from an numpy.ndarray
We can first pick the product_name column as a series and then find the product at the requested index.
You can find the processing time difference on my system below:
Note:
I wanted to create a PR instead of an issue but when I checked the differences on such a small PR, I see a lot of differences in json format, which is difficult to read.
Does anyone know if we should post PR's like that on an .ipynb file or is there a cleaner way to do so?
The text was updated successfully, but these errors were encountered:
My propesed solution for step 11 is:
food.iloc[:, 7][18]
instead of:
food.values[18][7]
Picking an index from a
Series
works much faster than picking it from annumpy.ndarray
We can first pick the product_name column as a series and then find the product at the requested index.
You can find the processing time difference on my system below:
Note:
I wanted to create a PR instead of an issue but when I checked the differences on such a small PR, I see a lot of differences in json format, which is difficult to read.
Does anyone know if we should post PR's like that on an .ipynb file or is there a cleaner way to do so?
The text was updated successfully, but these errors were encountered: