CDF Notebooks environment
CDF Notebooks provide a straightforward way to get started with NEAT, even if you have no coding experience.Prerequisites: A CDF account with access to the Data fusion workspace and Build solutions.
1
Open CDF and launch a notebook
Navigate to Cognite Data Fusion, sign in, and select the Data fusion workspace. In the left menu, select Build solutions, then Jupyter Notebooks, and launch a new notebook.
2
Install cognite-neat
Run
%pip install cognite-neat in a cell.3
Import and start using NEAT
Import
NeatSession and CogniteClient and start using NEAT as shown below.Local Notebook environment
Running NEAT locally requires Python 3.10 or later and a notebook environment. The steps below use Jupyter Lab.Prerequisites: Installed Python 3.10 or later. See python.org.
1
Create directory and virtual environment
Create a project directory and navigate into it. Create and activate a virtual environment.
2
Install cognite-neat and Jupyter Lab
Install
cognite-neat, jupyterlab, and tqdm for progress bars.3
Start Jupyter Lab
Run
jupyter lab to start your notebook environment.- Windows
- Mac/Linux
NeatSession and get_cognite_client and start using NEAT as shown below: