File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5757 identifier of column that should be used as index of the DataFrame
5858convert_missing : boolean, defaults to False
5959 Flag indicating whether to convert missing values to their Stata
60- representations. If False, missing values are replaced with nans .
60+ representations. If False, missing values are replaced with nan .
6161 If True, columns containing missing values are returned with
6262 object data types and missing values are represented by
6363 StataMissingValue objects.
@@ -248,8 +248,9 @@ def _stata_elapsed_date_to_datetime_vec(dates, fmt):
248248 def convert_year_month_safe (year , month ):
249249 """
250250 Convert year and month to datetimes, using pandas vectorized versions
251- when the date range falls within the range supported by pandas. Other
252- wise it falls back to a slower but more robust method using datetime.
251+ when the date range falls within the range supported by pandas.
252+ Otherwise it falls back to a slower but more robust method
253+ using datetime.
253254 """
254255 if year .max () < MAX_YEAR and year .min () > MIN_YEAR :
255256 return to_datetime (100 * year + month , format = '%Y%m' )
You can’t perform that action at this time.
0 commit comments