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 @@ -179,7 +179,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
179
179
-i " pandas.errors.ValueLabelTypeMismatch SA01" \
180
180
-i " pandas.infer_freq SA01" \
181
181
-i " pandas.io.json.build_table_schema PR07,RT03,SA01" \
182
- -i " pandas.io.stata.StataReader.data_label SA01" \
183
182
-i " pandas.io.stata.StataReader.value_labels RT03,SA01" \
184
183
-i " pandas.io.stata.StataReader.variable_labels RT03,SA01" \
185
184
-i " pandas.io.stata.StataWriter.write_file SA01" \
Original file line number Diff line number Diff line change @@ -2004,6 +2004,16 @@ def data_label(self) -> str:
2004
2004
"""
2005
2005
Return data label of Stata file.
2006
2006
2007
+ The data label is a descriptive string associated with the dataset
2008
+ stored in the Stata file. This property provides access to that
2009
+ label, if one is present.
2010
+
2011
+ See Also
2012
+ --------
2013
+ io.stata.StataReader.variable_labels : Return a dict associating each variable
2014
+ name with corresponding label.
2015
+ DataFrame.to_stata : Export DataFrame object to Stata dta format.
2016
+
2007
2017
Examples
2008
2018
--------
2009
2019
>>> df = pd.DataFrame([(1,)], columns=["variable"])
You can’t perform that action at this time.
0 commit comments