Theming
Gorgeous notebook theming that your viewers will love
We care deeply about design and expose just the right tools so you can give your viewers a customized experience.
Colour modes
Select your mode, and we'll generate complimentary shades for backgrounds, borders and more.
Beautiful highlighting
Choose from a range of syntax highlighters for a style that's unique to you.
# shuffle the 2-worded and 3-worded foods since we'll be slicing them
two_worded_foods = two_worded_foods.sample(frac=1)
three_worded_foods = three_worded_foods.sample(frac=1)
# append the foods together
foods = one_worded_foods.append(two_worded_foods[:round(total_num_foods * 0.30)]).append(three_worded_foods[:round(total_num_foods * 0.25)])
# print the resulting sizes
for i in range(3):
print(f"{i+1}-worded food entities:", foods[foods.str.split().apply(len) == i + 1].size)
1-worded food entities: 1258 2-worded food entities: 839 3-worded food entities: 699