Upload hf_env/lib/python3.14/site-packages/pandas/_libs/writers.pyi with huggingface_hub
Browse files
hf_env/lib/python3.14/site-packages/pandas/_libs/writers.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
from pandas._typing import ArrayLike
|
| 4 |
+
|
| 5 |
+
def write_csv_rows(
|
| 6 |
+
data: list[ArrayLike],
|
| 7 |
+
data_index: np.ndarray,
|
| 8 |
+
nlevels: int,
|
| 9 |
+
cols: np.ndarray,
|
| 10 |
+
writer: object, # _csv.writer
|
| 11 |
+
) -> None: ...
|
| 12 |
+
def convert_json_to_lines(arr: str) -> str: ...
|
| 13 |
+
def max_len_string_array(
|
| 14 |
+
arr: np.ndarray, # pandas_string[:]
|
| 15 |
+
) -> int: ...
|
| 16 |
+
def word_len(val: object) -> int: ...
|
| 17 |
+
def string_array_replace_from_nan_rep(
|
| 18 |
+
arr: np.ndarray, # np.ndarray[object, ndim=1]
|
| 19 |
+
nan_rep: object,
|
| 20 |
+
) -> None: ...
|