writers.pyi 531 B

1234567891011121314151617181920
  1. import numpy as np
  2. # TODO: can make this more specific
  3. def write_csv_rows(
  4. data: list,
  5. data_index: np.ndarray,
  6. nlevels: int,
  7. cols: np.ndarray,
  8. writer: object, # _csv.writer
  9. ) -> None: ...
  10. def convert_json_to_lines(arr: str) -> str: ...
  11. def max_len_string_array(
  12. arr: np.ndarray, # pandas_string[:]
  13. ) -> int: ...
  14. def word_len(val: object) -> int: ...
  15. def string_array_replace_from_nan_rep(
  16. arr: np.ndarray, # np.ndarray[object, ndim=1]
  17. nan_rep: object,
  18. replace: object = ...,
  19. ) -> None: ...