File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1748,24 +1748,27 @@ def get_values(self):
1748
1748
return self .as_matrix ()
1749
1749
1750
1750
def get_dtype_counts (self ):
1751
- """ return the counts of dtypes in this object """
1751
+ """ Return the counts of dtypes in this object """
1752
1752
from pandas import Series
1753
1753
return Series (self ._data .get_dtype_counts ())
1754
1754
1755
1755
def get_ftype_counts (self ):
1756
- """ return the counts of ftypes in this object """
1756
+ """ Return the counts of ftypes in this object """
1757
1757
from pandas import Series
1758
1758
return Series (self ._data .get_ftype_counts ())
1759
1759
1760
1760
@property
1761
1761
def dtypes (self ):
1762
- """ return the counts of dtypes in this object """
1762
+ """ Return the dtypes in this object """
1763
1763
from pandas import Series
1764
1764
return Series (self ._data .get_dtypes (),index = self ._info_axis )
1765
1765
1766
1766
@property
1767
1767
def ftypes (self ):
1768
- """ return the counts of ftypes in this object """
1768
+ """
1769
+ Return the ftypes (indication of sparse/dense and dtype)
1770
+ in this object.
1771
+ """
1769
1772
from pandas import Series
1770
1773
return Series (self ._data .get_ftypes (),index = self ._info_axis )
1771
1774
You can’t perform that action at this time.
0 commit comments