-
-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blacklist pandas read_pickle and add functional test for it (#710)
* Blacklist pandas read_pickle and add functional test for it * Update test-requirements.txt * Update test_functional.py * Update test_functional.py Co-authored-by: Jasper Sival <jasper.sival@rabobank.com> Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
- Loading branch information
1 parent
f909a7d
commit 128b236
Showing
3 changed files
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import pickle | ||
import pandas as pd | ||
|
||
|
||
df = pd.DataFrame( | ||
{ | ||
"col_A": [1, 2] | ||
} | ||
) | ||
pick = pickle.dumps(df) | ||
|
||
print(pd.read_pickle(pick)) |
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