
166
|
第
3
章
In[31]: recipes.name[selection.index]
Out[31]: 2069 All cremat with a Little Gem, dandelion and wa...
74964 Lobster with Thermidor butter
93768 Burton's Southern Fried Chicken with White Gravy
113926 Mijo's Slow Cooker Shredded Beef
137686 Asparagus Soup with Poached Eggs
140530 Fried Oyster Po'boys
158475 Lamb shank tagine with herb tabbouleh
158486 Southern fried chicken in buttermilk
163175 Fried Chicken Sliders with Pickles + Slaw
165243 Bar Tartine Cauliflower Salad
Name: name, dtype: object
现在已经将搜索范围缩小到了原来近两万份食谱的两千分之一了,这样就可以从这个小集
合中精挑细选出中意的食谱。
2.
继续完善美食推荐系统
希望这个示例能让你对
Pandas
字符串方法可以高效解决哪些数据清理问题有个初步概念。
当然,如果要建立一个稳定的美食推荐系统,还需要做 ...