microsoft / vscode-data-wrangler

Other
435 stars 19 forks source link

Issue Subject: Addition of Functionality to Save Custom Operations #101

Open revalani opened 1 year ago

revalani commented 1 year ago

Issue Subject: Addition of Functionality to Save Custom Operations

Description:

Currently, while using the 'Data Wrangler' extension in Visual Studio Code, I propose the inclusion of a feature that allows users to create and save custom operations, providing a convenient way to reuse customized code.

While exploring the tool, I appreciate its similarity to Power Query and suggest expanding this experience by enabling the direct inclusion and storage of custom codes within the extension.

Usage Example: For instance, the operation of removing the first rows of a DataFrame can be achieved with the following code:

df = df.iloc[1:, :]

I recommend adding this functionality to the side menu for easy access and utilization by users (see attached image).

Attached Image: Workspace and Draft of the Function

This addition would not only enhance the usability of the extension but also provide a more efficient approach for users looking to apply custom operations quickly and intuitively.

Thank you for considering this suggestion.

pwang347 commented 1 year ago

Hi @revalani, thanks for opening this request!

We added this feature to our backlogs and will provide updates on this thread.

bigeyex commented 5 months ago

+1, many feature requests would be resolved if this is supported. And ideally, people can share their custom operations (like code snippets), or leave field/string placeholders to select with dropdown menus (on the operation panel)