File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2887,7 +2887,8 @@ def as_matrix(self, columns=None):
2887
2887
2888
2888
e.g. If the dtypes are float16 and float32, dtype will be upcast to
2889
2889
float32. If dtypes are int32 and uint8, dtype will be upcase to
2890
- int32.
2890
+ int32. By numpy.find_common_type convention, mixing int64 and uint64
2891
+ will result in a flot64 dtype.
2891
2892
2892
2893
This method is provided for backwards compatibility. Generally,
2893
2894
it is recommended to use '.values'.
@@ -2913,8 +2914,9 @@ def values(self):
2913
2914
with care if you are not dealing with the blocks.
2914
2915
2915
2916
e.g. If the dtypes are float16 and float32, dtype will be upcast to
2916
- float32. If dtypes are int32 and uint8, dtype will be upcase to
2917
- int32.
2917
+ float32. If dtypes are int32 and uint8, dtype will be upcast to
2918
+ int32. By numpy.find_common_type convention, mixing int64 and uint64
2919
+ will result in a flot64 dtype.
2918
2920
"""
2919
2921
return self .as_matrix ()
2920
2922
You can’t perform that action at this time.
0 commit comments