{"id":3301,"date":"2017-05-16T12:25:59","date_gmt":"2017-05-16T19:25:59","guid":{"rendered":"http:\/\/www.microsoft.com\/garage-en-us\/?p=3301"},"modified":"2018-12-21T16:28:15","modified_gmt":"2018-12-22T00:28:15","slug":"transform-data-example","status":"publish","type":"post","link":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","title":{"rendered":"Transform Data by Example, a Microsoft Garage project for Excel"},"content":{"rendered":"

Many Excel users can relate to the problem of data wrangling.<\/p>\n

You start with an input data set that you wish to transform into a new format so that you can perform further analysis using the transformed data. Not surprisingly, these problems arise for common types of data such as date and time, addresses, phone numbers, URLs.<\/p>\n

For example, consider the following task. Given a column of dates in your spreadsheet as shown in column A in Figure 1, suppose you want to extract the day-of-week for each date so that you can subsequently filter or group your data by day-of-week. Note that the input data might appear in different formats, and the day of week may not even exist as part of the input data. Excel today does not include a built-in function that does this transformation. Although suitable functions do exist in open source repositories such as .NET, GitHub and Stack Overflow, or perhaps in a repository within your own organization, it is not easy for you to discover the right function for your task.<\/p>\n

\"Screenshot
Figure 1. Example-driven query paradigm for specifying data transformation tasks<\/figcaption><\/figure>\n

Transform Data by Example is an Excel add-in that helps you find the desired transformation function for your data wrangling task easily. All you need to do is to provide a few examples of the desired output (as shown in column B). Once you click on Get Transformations<\/strong>, Transform Data by Example will return a ranked list of programs that are automatically generated using a large collection of transformation functions it indexes to perform your desired transformation tasks. When you click on a result, it applies that program and fills the output column with the transformed data (see Figure 2). In this example, a program automatically generated using a standard .NET function (System.DateTime.Parse)<\/em> was used in completing the task.<\/p>\n

\"Screenshot
Figure 2. Transform Data by Example finds relevant transformation functions and composes them to solve the task<\/figcaption><\/figure>\n

Transform Data by Example is powered by a backend service that runs on Azure. Like a web search engine, this service crawls and indexes many open source data transformation functions from sources such as .NET, GitHub and Stack Overflow and web services such as Bing Maps. By exploiting the powerful capabilities of the Azure platform, and using technology developed in Microsoft Research, the engine can quickly search through this large index and find functions best suited for the given task specified by input-output examples.<\/p>\n

“Our technology can unlock the value of sophisticated, domain-specific transformations that people have laboriously developed over the years, and make it available to large number of users who are not necessarily sophisticated programmers\u201d says Surajit Chaudhuri, a Distinguished Scientist and the Deputy Managing Director of Microsoft Research Redmond Lab. \u201cThis is significant for information workers in the enterprise who today spend a lot of their time on data wrangling.”<\/p>\n

“We were inspired by technologies such as Flash Fill in Excel which uses an example-driven approach to automatically generate a program for syntactic string transformations, and the DataHub project at MIT that enables easy sharing and reuse of data analysis code” says Yeye He, a Researcher in the DMX group at Microsoft Research.<\/p>\n

For many tasks, applying a transformation function found in the index on the user\u2019s input data will not produce the desired output exactly. In these cases, Transform Data by Example can automatically generate a program to compose one or more functions to produce the desired result.<\/p>\n

“We are excited that the technology we have developed is unique in the industry”, says Kris Ganjam, a Principal Research Software Development Engineer in the same group. “Transform Data by Example can automatically find a relevant data transformation functions and compose them to solve the user\u2019s data wrangling task — all by using only a few input-output examples. Even recent startups in this space such as Trifacta, Paxata, and established players such as Informatica don\u2019t have this capability”.<\/p>\n

What makes the technology even more compelling is the ability to easily add your custom data transformations to the backend engine (by choosing Add My Service<\/strong> from the menu). Once added, your custom transformation is indexed and becomes searchable instantly. For now, your custom transformation is only searchable by you, and it will not be available for anyone else to use. “Longer term, we plan to make data transformations sharable and reusable across users within an enterprise seamlessly, and make Transform Data by Example the go-to search engine for data transformation problems” says Vivek Narasayya, a Principal Researcher in the DMX group.<\/p>\n

While Transform Data by Example currently targets information workers in Excel who need to transform data residing within their spreadsheets, in the future the project members plan to make it easy to deploy the resulting transformations on large datasets residing in databases or data lakes. So, bring on your examples and let Transform Data by Example build the transformations you need!<\/p>\n

Video https:\/\/youtu.be\/cl7RXSHdsyo<\/a><\/p>\n

Get Transform Data by Example https:\/\/microsoft.com\/en-us\/garage\/profiles\/transform-data-by-example\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

Many Excel users can relate to the problem of data wrangling. You start with an input data set that you wish to transform into a new format so that you can perform further analysis using the transformed data. Not surprisingly, these problems arise for common types of data such as date and time, addresses, phone numbers, URLs. For example, consider….<\/span><\/p>\n

CONTINUE READING \"Transform Data by Example, a Microsoft Garage project for Excel\"<\/span><\/a><\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3301","post","type-post","status-publish","format-standard","hentry","category-garage-projects"],"acf":[],"yoast_head":"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage\" \/>\n<meta property=\"og:description\" content=\"Many Excel users can relate to the problem of data wrangling. You start with an input data set that you wish to transform into a new format so that you can perform further analysis using the transformed data. Not surprisingly, these problems arise for common types of data such as date and time, addresses, phone numbers, URLs. For example, consider....\" \/>\n<meta property=\"og:url\" content=\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Garage\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-16T19:25:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-22T00:28:15+00:00\" \/>\n<meta name=\"author\" content=\"Anne Legato\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@msftgarage\" \/>\n<meta name=\"twitter:site\" content=\"@MSFTGarage\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anne Legato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/\",\"url\":\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/\",\"name\":\"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage\",\"isPartOf\":{\"@id\":\"http://approjects.co.za/?big=en-us/garage\/#website\"},\"datePublished\":\"2017-05-16T19:25:59+00:00\",\"dateModified\":\"2018-12-22T00:28:15+00:00\",\"author\":{\"@id\":\"http://approjects.co.za/?big=en-us/garage\/#\/schema\/person\/79e739c345ce990472d7347b7a51061b\"},\"breadcrumb\":{\"@id\":\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http://approjects.co.za/?big=en-us/garage\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transform Data by Example, a Microsoft Garage project for Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"http://approjects.co.za/?big=en-us/garage\/#website\",\"url\":\"http://approjects.co.za/?big=en-us/garage\/\",\"name\":\"Microsoft Garage\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http://approjects.co.za/?big=en-us/garage\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http://approjects.co.za/?big=en-us/garage\/#\/schema\/person\/79e739c345ce990472d7347b7a51061b\",\"name\":\"Anne Legato\",\"sameAs\":[\"https:\/\/x.com\/msftgarage\"],\"url\":\"http://approjects.co.za/?big=en-us/garage\/blog\/author\/annel\/\"}]}<\/script>","yoast_head_json":{"title":"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","og_locale":"en_US","og_type":"article","og_title":"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage","og_description":"Many Excel users can relate to the problem of data wrangling. You start with an input data set that you wish to transform into a new format so that you can perform further analysis using the transformed data. Not surprisingly, these problems arise for common types of data such as date and time, addresses, phone numbers, URLs. For example, consider....","og_url":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","og_site_name":"Microsoft Garage","article_published_time":"2017-05-16T19:25:59+00:00","article_modified_time":"2018-12-22T00:28:15+00:00","author":"Anne Legato","twitter_card":"summary_large_image","twitter_creator":"@msftgarage","twitter_site":"@MSFTGarage","twitter_misc":{"Written by":"Anne Legato","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","url":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","name":"Transform Data by Example, a Microsoft Garage project for Excel | Microsoft Garage","isPartOf":{"@id":"http://approjects.co.za/?big=en-us/garage\/#website"},"datePublished":"2017-05-16T19:25:59+00:00","dateModified":"2018-12-22T00:28:15+00:00","author":{"@id":"http://approjects.co.za/?big=en-us/garage\/#\/schema\/person\/79e739c345ce990472d7347b7a51061b"},"breadcrumb":{"@id":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/"]}]},{"@type":"BreadcrumbList","@id":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http://approjects.co.za/?big=en-us/garage\/"},{"@type":"ListItem","position":2,"name":"Transform Data by Example, a Microsoft Garage project for Excel"}]},{"@type":"WebSite","@id":"http://approjects.co.za/?big=en-us/garage\/#website","url":"http://approjects.co.za/?big=en-us/garage\/","name":"Microsoft Garage","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http://approjects.co.za/?big=en-us/garage\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http://approjects.co.za/?big=en-us/garage\/#\/schema\/person\/79e739c345ce990472d7347b7a51061b","name":"Anne Legato","sameAs":["https:\/\/x.com\/msftgarage"],"url":"http://approjects.co.za/?big=en-us/garage\/blog\/author\/annel\/"}]}},"_links":{"self":[{"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/posts\/3301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/comments?post=3301"}],"version-history":[{"count":0,"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/posts\/3301\/revisions"}],"wp:attachment":[{"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/media?parent=3301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/categories?post=3301"},{"taxonomy":"post_tag","embeddable":true,"href":"http://approjects.co.za/?big=en-us/garage\/wp-json\/wp\/v2\/tags?post=3301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}