Forum Discussion

Lyndon1's avatar
Lyndon1
Advocate I
2 years ago
Solved

Add a column on Delta table using Notebook

Hi, 

if this is to drop a column, what do I do to add a column;

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Lyndon1 
    Thanks for using Fabric Community.
    For dropping a column you can use below code:




    For adding a column you can use below code:


    Hope this helps. Please let me know if you have any further questions.

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Lyndon1 
      Glad that I could help you in resolving the query. Please continue using Fabric Community for any help regarding your queries.

      • Lyndon1's avatar
        Lyndon1
        Advocate I

        Anonymous  Oh I will definely need a lot of help, especially with Notebooks and python as I'm very new to that. DataFlow Gen 2 I have mastered cos its power query which I used in excel long before Fabric came along

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Lyndon1 
    Thanks for using Fabric Community.
    For dropping a column you can use below code:




    For adding a column you can use below code:


    Hope this helps. Please let me know if you have any further questions.