Skip to main content

get_backend

get_backend()

The DataFrame library pyorbiter currently returns by default.

This is the library used by simulate_system and get_bodies when their backend argument is left as None. Change it with set_backend.

Returns

Name Type Description
str "pandas" or "polars". It is "pandas" unless set_backend has been called.

See Also

Examples

import pyorbiter as orb

orb.get_backend()
'pandas'