Specific RField for Dataframe, these are loaded and dumped into a file
WARNING, this uses the pick function, only load file that you trust, otherwise it could execute malicious code
:param FileRField: [description] :type FileRField: [type]
Attributes
include_in_dict_view: bool
searchable: bool
Functions
__init__
deserialize
r_field_value :
str
Return type :
Any
dump_to_file
Implement this method to dump your object into a file to be able to load it later. This method is called when the resource is saved.
r_field_value :
DataFrame
object to dump (value of the r_field)
file_path :
str
path of the file to dump (the object MUST be dumped into this file)
get_default_value
Return type :
Any
load_from_file
Implement this method to load your object from the file. This method is called when the RField of the resource is loaded.
file_path :
str
path of the file
Return type :
DataFrame
serialize
METHOD NOT USED. Ignore this method.
r_field_value :
Any
Return type :
str