-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add from_frame conversion support for int16 and int8 columns
Summary: This is so to avoid errors such as: `TypeError: Cannot interpret 'Int16Dtype()' as a data type` When running something like: `sample.covars().plot()` When the input DataFrame had an int16 or int8 inside it. We turn both into float16 (Using since float8 doesn't exist, see: https://stackoverflow.com/a/40507235/256662) Reviewed By: SarigT Differential Revision: D42923742 fbshipit-source-id: 0c2054116878d66adcbb8cdde1a42aea0a5fded1
- Loading branch information
1 parent
c164d40
commit 5b5110f
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters