Skip to main content
The physical data model implements your conceptual data model in Cognite Data Fusion (CDF) via the Data Modeling Service (DMS). Use NeatSession to read and write data models to Excel files:
from cognite.neat import NeatSession, get_cognite_client

client = get_cognite_client(".env")
neat = NeatSession(client)

# Reading an existing data model
neat.physical_data_model.read.excel("path/to/excel/file.xlsx")

# Writing a data model to an Excel file
neat.physical_data_model.write.excel("path/to/excel/file.xlsx")
For a reference of the physical data model, see the physical data model reference. For detailed explanations of each component, see the properties sheet, views sheet, enum sheet, and units.
Last modified on February 27, 2026