class_docstr: A monitor wrapper for Gym environments, it is used to know the episode reward, length, time and other data.
  
  :param env: (gym.Env) The environment
  :param filename: (Optional[str]) the location to save a log file, can be None for no log
  :param allow_early_resets: (bool) allows the reset of the environment before it is done
  :param reset_keywords: (tuple) extra keywords for the reset call, if extra parameters are needed at reset
  :param info_keywords: (tuple) extra information to log, from the information return of environment.step
docstr: Returns the number of timesteps of all the episodes
  
  :return: ([int])
docstr_tok: ["Returns","the","number","of","timesteps","of","all","the","episodes",":","return",":","(","[","int","]",")"]
code: def get_episode_lengths(self) -> List[int]:
      """
      Returns the number of timesteps of all the episodes
  
      :return: ([int])
      """
      return self.episode_lengths
  
imports: import csv
  import json
  import os
  import time
  from glob import glob
  from typing import Tuple, Dict, Any, List, Optional
  import gym
  import pandas
  import numpy
label_desc: Use image node_id 7 for calling the Monitor obj's underlying member method code with example usage: obj.get_episode_lengths() and returns: self