Skip to content

Commit c170220

Browse files
committed
change np.full to np.empty
1 parent 3a9d2b9 commit c170220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/csvs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def _save_chunk(self, start_i: int, end_i: int) -> None:
323323
ix = (
324324
self.data_index[slicer]._get_values_for_csv(**self._number_format)
325325
if self.nlevels != 0
326-
else np.full(end_i - start_i, None)
326+
else np.empty(end_i - start_i)
327327
)
328328
libwriters.write_csv_rows(
329329
data,

0 commit comments

Comments
 (0)