# Python code examples

> Python code examples - Review comprehensive workflows, notebooks, and tutorials that help you find
> complete examples of common data science and machine learning workflows.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-04-24T16:03:56.291181+00:00` (UTC).

## Primary page

- [Python code examples](https://docs.datarobot.com/en/docs/api/dev-learning/python/py-code-examples/index.html): Full documentation for this topic (HTML).

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [Developer learning](https://docs.datarobot.com/en/docs/api/dev-learning/index.html): Linked from this page.
- [Python API client user guide](https://docs.datarobot.com/en/docs/api/dev-learning/python/index.html): Linked from this page.
- [Modeling and insights examples](https://docs.datarobot.com/en/docs/api/dev-learning/python/py-code-examples/modeling-code/index.html): Linked from this page.
- [Prediction code examples](https://docs.datarobot.com/en/docs/api/dev-learning/python/py-code-examples/prediction-examples/index.html): Linked from this page.
- [Feature selection examples](https://docs.datarobot.com/en/docs/api/dev-learning/python/py-code-examples/modeling-code/feat-select/index.html): Linked from this page.
- [Pulumi code examples](https://docs.datarobot.com/en/docs/api/dev-learning/python/py-code-examples/pulumi-examples/index.html): Linked from this page.

## Documentation content

# Python code examples

The API user guide includes overviews and workflows for DataRobot's Python client that outline complete examples of common data science and machine learning workflows.
Be sure to review the [API quickstart guide]api-quickstart before using the notebooks below.

| Topic | Describes... |
| --- | --- |
| Modeling and insights examples | Code examples that focus on the model building process and the insights you can generate for models. |
| Prediction code examples | Code examples that outline various prediction methods. |
| Feature selection examples | Notebooks that outline Feature Importance Rank Ensembling (FIRE) and advanced feature selection with Python. |
| Pulumi code examples | How to perform common DataRobot tasks by using Pulumi. |
