> For the complete documentation index, see [llms.txt](https://academy.dnanexus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.dnanexus.com/mlaccelerator/dataprofiler/accessingdataprofilerml.md).

# Accessing Data Profiler in ML JupyterLab

If you also have access to the ML JupyterLab (another solution in the AI/ML Accelerator Package), Data Profiler can be seamlessly opened in the JupyterLab environment, offering an intuitive and interactive tool for profiling multiple datasets directly within one workspace.&#x20;

To get started, in the ML JupyterLab Homepage, simply click the Data Profiler plugin to open the Data Profiler UI in the new browser tab.

<img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2F9VYoX0QqpYKm8uUzz1SF%2Funknown.png?alt=media&amp;token=6eac5a29-e04e-43dc-a69f-ddabbf326bf4" alt="" height="315" width="624">

## **Profiling the Dataset**

The integrated version of Data Profiler in ML JupyterLab (dxprofiler) offers four methods for loading your datasets to profile the data:

1. Loading the dataset by specifying a path to the local folder (in the ML JupyterLab job) which contains the .csv or .parquet files.

   ```
   import dxprofiler
   dataset = dxprofiler.profile_files(path_to_csv_or_parquet='/path/to/tables/', data_dictionary=None)
   ```
2. Loading the dataset by a list of .csv or .parquet files.

   ```
   import dxprofiler
   dataset = dxprofiler.profile_files(path_to_csv_or_parquet=['/path/to/table1.csv', '/path/to/table2.csv'], data_dictionary=None)
   ```
3. Loading the dataset by Pandas dataframes ('patient\_df' and 'clinical\_df')

   ```
   import dxprofiler
   dataset = dxprofiler.profile_dfs(dataframes={'patient_df': patient, 'clinical_df': clinical}, data_dictionary=None)
   ```
4. Loading the dataset by a record object (DNAnexus Dataset or Cohort). "project-xxxx:record-yyyy" is the ID of your Apollo Dataset (or Cohort) on the DNAnexus platform.

```
import dxprofiler

dataset = dxprofiler.profile_cohort_record(record_id="project-xxxx:record-yyyy")
```

## **Open the Data Profiler GUI**

Once you finish profiling the dataset, here is the command to open the Data Profiler GUI:

```
dataset.visualize()
```

## Resources

[Full Documentation](https://documentation.dnanexus.com/)

To create a support ticket if there are technical issues:

1. Go to the Help header (same section where Projects and Tools are) inside the platform
2. Select "Contact Support"
3. Fill in the Subject and Message to submit a support ticket.
