Files Operations
This section helps the user to understand the attributes provided to the file folder created inside a normal Data Science Lab project.
The File Folder in the Data Science Lab (DSLab) module allows users to manage files and folders within the workspace. Users can perform several operations, including adding files, creating folders, copying file paths, and importing files. These operations ensure seamless file management and easy integration with notebooks and projects.
Add File
Navigation path: Data Science Lab > Project > Workspace > File Folder > Elipsis > Add File
The Add File option allows users to upload files directly into the File Folder.
Steps to Add a File:
Navigate to the Workspace page in Data Science Lab.
Select the File Folder within the workspace.
Click the Elipsis (three-dot) icon next to the File Folder.
From the Context Menu, select the Add File option.
Choose the file to upload from your local system.
The selected file will be added to the File Folder.
Add Folder
Navigation path: Data Science Lab > Workspace > File Folder > Elipsis > Add Folder
The Add Folder option allows users to create new subfolders inside the File Folder for organizing files.
Steps to Add a Folder:
Navigate to the Workspace page in Data Science Lab.
Select the File Folder within the workspace.
Click the Elipsis (three-dot) icon next to the File Folder.
From the Context Menu, select the Add Folder option.
In the Add Folder dialog box, provide a name for the new folder.
Click Yes to confirm folder creation.
A confirmation notification will appear once the folder is created.
The newly created folder will be listed under the File Folder. Expand the File Folder to see the newly added folder.
Copy Path
Navigation path: Data Science Lab > Proejct > Workspace > File Folder > Elipsis > Copy Path
The Copy Path functionality allows users to copy the exact file or folder path for use in notebooks or other parts of the project.
Steps to Copy Path:
Navigate to the Workspace page in Data Science Lab.
Select the File Folder within the workspace.
Click the Elipsis (three-dot) icon next to the desired file or folder.
From the Context Menu, select Copy Path.
The path is copied to the clipboard and can be pasted in notebooks or elsewhere for reference.
Import
Navigation path: Data Science Lab > Project > Workspace > File Folder > Elipsis > Import
The Import functionality allows users to import a file from their local directory into the File Folder within the Data Science Lab workspace.
Steps to Import a File:
Navigate to the Workspace page in Data Science Lab.
Select the File Folder within the workspace.
Click the Elipsis (three-dot) icon next to the File Folder.
From the Context Menu, select Import.
The Import File page opens, allowing users to browse and select a file from their local system.
Once the file is selected, click Import to upload the file to the File Folder.
The imported file will be available for use in the workspace.