Комментарии:
the reason they removed the dislike button was because they did not want people to dislike this video because its so good
ОтветитьWhat is dont understand is, how " e_sort" is linking to employees table.? We are not passing any argument in e_sort function.
ОтветитьA missed opportunity on sorting dictionaries.
ОтветитьGreat tutorial. However, I get
"TypeError: '<' not supported between instances of 'str' and 'int'" in the last example, when I try to sort by age and salary. Anyone knows how to deal with that? I'm using Pydroid 3 if it matters.
Awesome video, so very well explained. Thank you for sharing.
ОтветитьAbsolutely amazing
Ответитьyou're incredible at explaining stuff man
Ответитьsuch a finest tuts i love it , thank you corey schafer
ОтветитьVery useful, thanks. In another video about comprehensions, it was suggested to use a comprehension in place of lambdas for readability. How could that be achieved with the example in this video?
Ответитьhow to sort by keys and values in same time please?
ОтветитьThank you
ОтветитьHey, at last you use the attrgetter method so what's the difference between the attrgetter and itemgetter
Ответить2022
ОтветитьThank you for the video. Can the "sorted" built-in method deal with ties and break them according to another attribute. For example, in your Employee class, is it possible to write a function (as argument for the key parameter) that sorts according to age and, if there is a tie, then sorts according to salary?
ОтветитьYour video is the best for Python learners !!!!!!!!
Ответитьwatched so many videos until I saw yours and it finally clicked thanks man
Ответитьwhat if you were given (1,7),(1,3),(3,4,5),(2,2) n you were requested to sort using the last element of the tuple
Ответитьthanks bro!
Ответить