Extensions and optional dependencies
The SDK is tightly integrated with the pandas library.
You can use the
.to_pandas() method on pretty much any object and get a pandas data frame describing the data.
This is particularly useful when you are working with time series data and with tabular data from the Raw API.
How to install extra dependencies
If your application requires the functionality from e.g. the
you should install the SDK along with its optional dependencies. The available extras are:
geo: geopanda, shapely
all (will install dependencies for all the above)
These can be installed with the following command:
$ pip install "cognite-sdk[pandas, geo]"
$ poetry add cognite-sdk -E pandas -E geo