code: def _get_obs(self):
      return np.concatenate(
          [self.sim.data.qpos, self.sim.data.qvel]
      ).ravel()
  
file_path: gym/gym/envs/mujoco/inverted_pendulum.py
imports: import numpy
  from gym import utils
  from gym.envs.mujoco import MuJocoPyEnv
  from gym.spaces import Box
label_desc: Use image node_id 4 for calling the InvertedPendulumEnv obj's underlying member method code with example usage: obj._get_obs() and returns: np