kmds.cloud_readers package
Submodules
kmds.cloud_readers.boxreader module
- class kmds.cloud_readers.boxreader.BoxReader(conn: Dict[str, Any])
Bases:
CloudDataReader- read_data(file_id: str) DataFrame
Use this method to read the data file as a pandas data frame from the source box account. You will need to know the file identifier of the resource within Box (this is a box quirk) to use this method
- Parameters:
file_id (str) – The file identifier of the data file in your box account. You can find this from the address bar on your browser when you browse the file on your box account
- Returns:
_description_
- Return type:
DataFrame
kmds.cloud_readers.cloud_data_reader module
- class kmds.cloud_readers.cloud_data_reader.CloudDataReader(conn: Dict[str, Any])
Bases:
object
kmds.cloud_readers.minioreader module
- class kmds.cloud_readers.minioreader.MinioReader(conn: Dict[str, Any])
Bases:
CloudDataReader- read_data(bucket_name: str, object_name: str) DataFrame
Use this method to read a object (data file) from the bucket (bucket name)
- Parameters:
bucket_name (str) – the bucket name containing the datafile
object_name (str) – data file with bucket that must be read
- Returns:
A pandas datafreame wrapping the data file
- Return type:
DataFrame