File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
154
154
-i " pandas.errors.ValueLabelTypeMismatch SA01" \
155
155
-i " pandas.infer_freq SA01" \
156
156
-i " pandas.io.json.build_table_schema PR07,RT03,SA01" \
157
- -i " pandas.io.stata.StataReader.variable_labels RT03,SA01" \
158
157
-i " pandas.io.stata.StataWriter.write_file SA01" \
159
158
-i " pandas.json_normalize RT03,SA01" \
160
159
-i " pandas.plotting.andrews_curves RT03,SA01" \
Original file line number Diff line number Diff line change @@ -2045,9 +2045,19 @@ def variable_labels(self) -> dict[str, str]:
2045
2045
"""
2046
2046
Return a dict associating each variable name with corresponding label.
2047
2047
2048
+ This method retrieves variable labels from a Stata file. Variable labels are
2049
+ mappings between variable names and their corresponding descriptive labels
2050
+ in a Stata dataset.
2051
+
2048
2052
Returns
2049
2053
-------
2050
2054
dict
2055
+ A python dictionary.
2056
+
2057
+ See Also
2058
+ --------
2059
+ read_stata : Read Stata file into DataFrame.
2060
+ DataFrame.to_stata : Export DataFrame object to Stata dta format.
2051
2061
2052
2062
Examples
2053
2063
--------
You can’t perform that action at this time.
0 commit comments