docstr: system endpoint
  
  Args:
      os (str, optional): filter by the operating system. Defaults to None.
  
  Returns:
      pd.DataFrame: pandas dataframe
docstr_tok: ["system","endpoint","Args",":","os","(","str",",","optional",")",":","filter","by","the","operating","system",".","Defaults","to","None",".","Returns",":","pd.DataFrame",":","pandas","dataframe"]
code: def system(self, os: str = None) -> pd.DataFrame:
      """system endpoint
  
      Args:
          os (str, optional): filter by the operating system. Defaults to None.
  
      Returns:
          pd.DataFrame: pandas dataframe
      """
      endpoint: str = path.join(self.endpoint, "system")
      params: Dict = {}
  
      if os is not None:
          params["os"] = os
  
      payload = requests.get(endpoint, params=params).json()["data"]
      df = self.__to_dataframe(payload, limit=self.limit)
  
      return df
  
file_path: mindsdb/mindsdb/integrations/handlers/pypi_handler/api.py
imports: from os import path
  from typing import Collection, Dict
  import numpy
  import pandas
  import requests
label_desc: Use image node_id 6 for calling the PyPI obj's underlying member method code with example usage: obj.system(os) and returns: df