File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,13 @@ skipfooter : int, default ``0``
169
169
Number of lines at bottom of file to skip (unsupported with engine='c').
170
170
nrows : int, default ``None ``
171
171
Number of rows of file to read. Useful for reading pieces of large files.
172
+ low_memory : boolean, default ``True ``
173
+ Internally process the file in chunks, resulting in lower memory use
174
+ while parsing, but possibly mixed type inference. To ensure no mixed
175
+ types either set ``False ``, or specify the type with the ``dtype `` parameter.
176
+ Note that the entire file is read into a single DataFrame regardless,
177
+ use the ``chunksize `` or ``iterator `` parameter to return the data in chunks.
178
+ (Only valid with C parser)
172
179
173
180
NA and Missing Data Handling
174
181
++++++++++++++++++++++++++++
Original file line number Diff line number Diff line change 220
220
warn_bad_lines : boolean, default True
221
221
If error_bad_lines is False, and warn_bad_lines is True, a warning for each
222
222
"bad line" will be output. (Only valid with C parser).
223
+ low_memory : boolean, default True
224
+ Internally process the file in chunks, resulting in lower memory use
225
+ while parsing, but possibly mixed type inference. To ensure no mixed
226
+ types either set False, or specify the type with the `dtype` parameter.
227
+ Note that the entire file is read into a single DataFrame regardless,
228
+ use the `chunksize` or `iterator` parameter to return the data in chunks.
229
+ (Only valid with C parser)
223
230
224
231
Returns
225
232
-------
Original file line number Diff line number Diff line change @@ -1134,8 +1134,8 @@ def test_concat_NaT_series(self):
1134
1134
tm .assert_series_equal (result , expected )
1135
1135
1136
1136
def test_concat_tz_frame (self ):
1137
- df2 = DataFrame (dict (A = Timestamp ('20130102' , tz = 'US/Eastern' ),
1138
- B = Timestamp ('20130603' , tz = 'CET' )),
1137
+ df2 = DataFrame (dict (A = pd . Timestamp ('20130102' , tz = 'US/Eastern' ),
1138
+ B = pd . Timestamp ('20130603' , tz = 'CET' )),
1139
1139
index = range (5 ))
1140
1140
1141
1141
# concat
You can’t perform that action at this time.
0 commit comments