learn the ropes vs swot up on

learn the ropes

verb
  • To learn some skill requiring specialist knowledge. 

  • To learn the basics or master introductory knowledge. 

swot up on

verb
  • To study particularly hard to learn a subject quickly. 

How often have the words learn the ropes and swot up on occurred in a corpus of books? (source: Google Ngram Viewer )