Category: SAS

What’s your stress score?

There’s an old expression “if you can’t measure it, you can’t manage it” – and while that expression probably isn’t universally true (as pointed out in this interesting article), I think having a way to quantify your stress could be useful. I recently read an interesting article about the Holmes-Rahe Life […]

The post What’s your stress score? appeared first on SAS Learning Post.

How to send a text message with SAS

A colleague approached me with this very important business problem: Every Friday at SAS HQ, SAS cafe staff provides a breakfast goodie in our breakrooms. Often the supplied goodie is delicious, but sometimes it’s more…well…healthy. I want to know whether I should eat my breakfast before I leave home on […]

The post How to send a text message with SAS appeared first on The SAS Dummy.

Install Theano under Anaconda3 Python 3.5

As of writing, Deep Learning package Theano can’t be installed under Python 3.5, which causes some problems with my project. ruslanagit provided a viable solution that works for me under Windows 10.For convenience, I copied his solution below:Well, the…

Add Table of Contents to your Jupyter Notebook

Jupyter notebook does not support Table Of Contents (ToC) out of box, unlike R Markdown. There are nbextensions that ppl made to support this. It is easy to add this capability, following these steps to add Table of Contents to your notebook:

 1. Find your Jupyter Notebook data directory by using this command in your DOS console:
          a. Jupyter –data-dir

2. Copy the following two files into your Jupyter data directory:
           https://rawgithub.com/minrk/ipython_extensions/master/nbextensions/toc.js
           https://rawgithub.com/minrk/ipython_extensions/master/nbextensions/toc.css

3. Run this command:
           a. Jupyter nbextension enable toc –user

4. In your Jupyter Notebook, add this command to a MarkDown cell on top of your notebook:
           a. &lt div id=”toc” &gt &lt /div &gt

One caveat is that all headings will be listed in ToC, including your Title (if there is one). One easy work around is to write your title in Word, save a screenshot into an image, save the image file to the same folder as your notebook is, then use the following command in the top Markdown cell:

 &lt div style=”float: left;” &gt &lt img src=”Title.png” height=”200″ width=”800″&gt &lt /div &gt

Solar and wind power in the United States

Where is solar and wind power generated in the US? Let’s visualize this data on a map… I recently saw the following map on the metricmaps.org website. It caught my attention because it looks like North Carolina has a lot of solar power plants, whereas our neighboring states have very few. […]

The post Solar and wind power in the United States appeared first on SAS Learning Post.

Is the US still a coal-powered nation?

I ran across a map recently that seemed to show a lot of US states are primarily coal-powered. The map was a little difficult to read, so I decided to give it a SAS makeover … Before we get started, here’s a picture my friend David took of the Shearon Harris Nuclear Power […]

The post Is the US still a coal-powered nation? appeared first on SAS Learning Post.

Using Jupyter and SAS together with SAS University Edition

A few months ago I shared the news about Jupyter notebook support for SAS. If you have SAS for Linux, you can install a free open-source project called sas-kernel and begin running SAS code within your Jupyter notebooks. In my post, I hinted that support for this might be coming […]

The post Using Jupyter and SAS together with SAS University Edition appeared first on The SAS Dummy.

What makes a Data Scientist ?

The term Data Scientist is in vogue right now. Let’s explore Data Science, what key skills make a data scientist and how SAS’ Academy of Data Science may help advance your career. The term “data science” (originally used interchangeably with “datalogy”) has existed for over thirty years and was used […]

The post What makes a Data Scientist ? appeared first on SAS Learning Post.