-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify observations_from_data/map_data (#3339)
Summary: Pull Request resolved: #3339 This diff cleans up a rarely used & untested part of `observations_from_data`. The code had logic for splitting the dataframe into two, and processing the dfs separately. However, this part of the code was not tested and it wasn't being executed in rare cases where the feature columns included NaN / NaT values. The `_observations_from_dataframe` helper is slightly modified to support NaN / NaT values, eliminating the need for splitting the dfs. Differential Revision: D69419519 Reviewed By: lena-kashtelyan
- Loading branch information
1 parent
f7227a2
commit 8028892
Showing
2 changed files
with
36 additions
and
105 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