Python: Fix format for pandas.read_pickle

This commit is contained in:
Rasmus Wriedt Larsen
2023-09-25 10:24:27 +02:00
parent 1764aa0caf
commit d1caa75053
2 changed files with 3 additions and 3 deletions

View File

@@ -32,6 +32,6 @@ private module Pandas {
override DataFlow::Node getOutput() { result = this }
override string getFormat() { result = "pandas" }
override string getFormat() { result = "pickle" }
}
}

View File

@@ -1,4 +1,4 @@
import pandas
pandas.read_pickle(file_) # $ decodeInput=file_ decodeOutput=pandas.read_pickle(..) decodeFormat=pandas decodeMayExecuteInput
pandas.read_pickle(filepath_or_buffer=file_) # $ decodeInput=file_ decodeOutput=pandas.read_pickle(..) decodeFormat=pandas decodeMayExecuteInput
pandas.read_pickle(file_) # $ decodeInput=file_ decodeOutput=pandas.read_pickle(..) decodeFormat=pickle decodeMayExecuteInput
pandas.read_pickle(filepath_or_buffer=file_) # $ decodeInput=file_ decodeOutput=pandas.read_pickle(..) decodeFormat=pickle decodeMayExecuteInput