Commit 1ad2eff
committed
PERF: StataWriter is slow
StataWriter wrote data using scalar operations. This has been replaced using
numpy's internal binary writer (tofile).
Changes needed to improve performance include:
* Vectorized pandas date to Stata date conversion
* Vectorized null padding
* Conversion of string columns to fixed width numpy string arrays
* Conversion to record array1 parent e7e02e6 commit 1ad2eff
File tree
5 files changed
+164
-192
lines changed- doc/source
- pandas/io
- tests
- data
5 files changed
+164
-192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
485 | 487 | | |
486 | 488 | | |
487 | 489 | | |
| |||
0 commit comments