It generated the spreadsheet as Python code, as you entered the formulae. Then You could add functions of your own design and call those from the cells too.
Very cool! This second part (running Python in the sheet) is coming soon - both allowing you to call custom Python functions in the sheet - but also allowing Enterprises to extend the spreadsheet interface as well!