site

files for beauhilton.com
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

2099-12-31-coding_isnt_scary_its_awesome.md (1146B)


      1 ---
      2 layout: post
      3 title: "Coding is awesome and also not scary"
      4 categories:
      5   - technical
      6 tags:
      7   - machine learning
      8   - programming
      9   - education
     10   - meta
     11 ---
     12 
     13 # Coding isn't scary. It's awesome.
     14 
     15 I want to show you something.
     16 
     17 It's a tiny piece of computer code. And it's freaking rad.
     18 
     19 Ready?
     20 
     21 `AllTheData.describe`
     22 
     23 Looks simple enough. All I did was enter the name of my dataset, `AllTheData`,  add a period, and write the word `describe`. Then I hit the play button and waited 0.143 milliseconds. And then I saw...
     24 
     25 # (output from some data set)
     26 
     27 Yup. Averages, medians, and quartiles for every feature in my dataset. Table 1, if you will. With a single command, which I can type faster than I can go clicking around Excel.
     28 
     29 This is why computers are cool, and why they're even cooler when we control them with code. We can do very useful but very complicated things with simple commands. Under the surface, that `.describe` command does a whole bunch of math that would be a pain to do by hand, and because we do this type of math so much someone made it dead simple to execute.
     30 
     31 Let me show you one more example. It's essentially the same