This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
In today’s data-driven world, it’s important to be able to read & understand your data to enable you to gain insights on which patterns/trends you want to monitor. After a data driven decision is taken, you can understand which visualizations you want to build and which machine learning models you want to train to give further insight into your data.
Contoso Retailers, a fictitious company, wants to learn how they can unlock the full potential of their data science and data engineering efforts with Copilot for Data Science and Data Engineering using Fabric.
Contoso Retailers aims to apply data science and data engineering techniques to track sales patterns and gain valuable insights. By analyzing these trends, they can implement new strategies to enhance their operations and stay ahead in the competitive market. Leveraging Copilot for Data Science & Data Engineering in Microsoft Fabric, they plan to generate precise visualizations and sophisticated machine learning models to make predictions on customer behavior so they can build a targeted marketing campaign.
With Copilot for Data Science & Data Engineering you can explore, apply predictive analytics and use it as a learning tool for your dataset.
Before you can prepare your data for predictive analysis, you need to create a Notebook that is connected/using a Lakehouse where your data sits. You can learn more about Notebooks in Microsoft Fabric by referring to - Explore the data in your lakehouse with a notebook documentation.
Example chat magics and prompt:
%%chat
Explain this block of code step by step
A_notebook_in_Fabric_with_Copilot_enabled
Example chat magics and prompt:
%describe
df_cust_details
Example prompt: Add a column ‘age’ to df_cust_details using 2012 as the current year
A_notebook_implementing_code_from_copilot_chat_panel
Using the same notebook you can use Copilot for Data Science to build visualizations and train machine learning models based on your data. This enables you to continue from your data engineering work and transition into data science without reworking your dataset.
Example prompt: Visualize the distribution of customer ages using a histogram to understand age demographics
A_notebook_using_copilot_to_generate_code_for_data_visualization
Example prompt: Add a new column ‘IsBikeBuyer’ with a value of 1 for rows where ‘ProductCategory’ is ‘Bikes’, and 0 otherwise.
Example prompt: Suggest how we can build a predictive machine learning model using df_cust_details to predict if a customer is likely to buy a bike or not to help Adventure Works, the bike shop, build a targeted marketing campaign, the ‘IsBikeBuyer’ column is the target column.
Copilot_Chat_panel_inside_a_notebook_to_suggest_code_for_a_predictive_analysis_m
Tip: As an added benefit, Copilot will explain exactly how the code works and why it suggested the predictive model so you can see if it fits your scenario.
There’s more you can do for a retail scenario with Copilot for Data Science & Data Engineering, this is a baseline of the thought process of understanding your dataframes, code and training predictive machine learning models. This can be applied to other scenarios; you have to mindful of what is needed based on your requirements.
You can find a deep dive of using Copilot for Data Science & Data Engineering in our Copilot Learning Hub for Data professional’s tutorial.
Start your Copilot learning journey
Copilot for Data Science & Data Engineering overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.