|
53 | 53 | )
|
54 | 54 |
|
55 | 55 | _statafile_processing_params1 = """\
|
56 |
| -convert_dates : boolean, defaults to True |
| 56 | +convert_dates : bool, default True |
57 | 57 | Convert date variables to DataFrame time values.
|
58 |
| -convert_categoricals : boolean, defaults to True |
| 58 | +convert_categoricals : bool, default True |
59 | 59 | Read value labels and convert columns to Categorical/Factor variables."""
|
60 | 60 |
|
61 | 61 | _encoding_params = """\
|
62 |
| -encoding : string, None or encoding |
| 62 | +encoding : str, None or encoding |
63 | 63 | Encoding used to parse the files. None defaults to latin-1."""
|
64 | 64 |
|
65 | 65 | _statafile_processing_params2 = """\
|
66 |
| -index_col : string, optional, default: None |
| 66 | +index_col : str, optional |
67 | 67 | Column to set as index.
|
68 |
| -convert_missing : boolean, defaults to False |
| 68 | +convert_missing : bool, default False |
69 | 69 | Flag indicating whether to convert missing values to their Stata
|
70 | 70 | representations. If False, missing values are replaced with nan.
|
71 | 71 | If True, columns containing missing values are returned with
|
72 | 72 | object data types and missing values are represented by
|
73 | 73 | StataMissingValue objects.
|
74 |
| -preserve_dtypes : boolean, defaults to True |
| 74 | +preserve_dtypes : bool, default True |
75 | 75 | Preserve Stata datatypes. If False, numeric data are upcast to pandas
|
76 | 76 | default types for foreign data (float64 or int64).
|
77 | 77 | columns : list or None
|
78 | 78 | Columns to retain. Columns will be returned in the given order. None
|
79 | 79 | returns all columns.
|
80 |
| -order_categoricals : boolean, defaults to True |
| 80 | +order_categoricals : bool, default True |
81 | 81 | Flag indicating whether converted categorical data are ordered."""
|
82 | 82 |
|
83 | 83 | _chunksize_params = """\
|
|
86 | 86 | given number of lines."""
|
87 | 87 |
|
88 | 88 | _iterator_params = """\
|
89 |
| -iterator : boolean, default False |
| 89 | +iterator : bool, default False |
90 | 90 | Return StataReader object."""
|
91 | 91 |
|
92 | 92 | _read_stata_doc = """
|
|
0 commit comments