Teradata Package for Python Function Reference on VantageCloud Lake - files - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.
Teradata® Package for Python Function Reference on VantageCloud Lake
- Deployment
- VantageCloud
- Edition
- Lake
- Product
- Teradata Package for Python
- Release Number
- 20.00.00.03
- Published
- December 2024
- ft:locale
- en-US
- ft:lastEdition
- 2024-12-19
- dita:id
- TeradataPython_FxRef_Lake_2000
- Product Category
- Teradata Vantage
- teradataml.scriptmgmt.UserEnv.UserEnv.files
- DESCRIPTION:
A class property that returns list of files installed in remote user environment.
PARAMETERS:
None
RETURNS:
Pandas DataFrame containing files and it's details.
RAISES:
TeradataMlException
EXAMPLES:
# Create a remote user environment.
>>> env = create_env('testenv', 'python_3.7.9', 'Test environment')
User environment testenv created.
>>> env.install_file(file_path = 'data/scripts/mapper.py')
File mapper.py installed successfully in the remote user environment testenv.
# List files installed in the user environment.
>>> env.files
File Size Timestamp
0 mapper.py 233 2020-08-06T21:59:22Z