Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Import notebook from .py file

I have notebook code that has been exported as .py file and is formatted like this:   # Fabric notebook source # METADATA ******************** # META { # META "kernel_info": { # META "name...
  • v-ssriganesh's avatar
    v-ssriganesh
    1 year ago

    Hi Anonymous,

    Thanks for your response! You’re right when exporting a Fabric notebook as a .py file and re-importing it, Fabric does not automatically split it into multiple cells. Currently, Fabric only maintains cell structure when working with .ipynb files.

    If you need to frequently transfer notebooks, I recommend working with .ipynb instead of .py for seamless import/export.

    I agree that Fabric should ideally recognize its own .py format properly. If this is an important workflow for you, I encourage you to share your feedback and vote for this idea on the Power BI Ideas Forum:🔗 Home, This helps the Microsoft team prioritize feature enhancements based on user demand.

    If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
    Thank you.