Created
August 2, 2019 14:12
-
-
Save olekscode/fd1afdb9a33634a472f8fa43f6313c61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
orders := DataFrame | |
withRows: | |
#( ( 1 '07/04/1776' '$234.56' 1 ) | |
( 2 '03/14/1760' '$78.50' 3 ) | |
( 3 '05/23/1784' '$124.00' 2 ) | |
( 4 '09/03/1790' '$65.50' 3 ) | |
( 5 '07/21/1795' '$25.50' 10 ) | |
( 6 '11/27/1787' '$14.40' 9 ) ) | |
columnNames: #( order_id order_date amount customer_id ). | |
orders toColumn: #order_date applyElementwise: #asDate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment