Teradata Package for Python Function Reference on VantageCloud Lake - list_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.dbutils.filemgr.list_files = list_files()
DESCRIPTION:
    List all the files installed in Vantage or in Vantage Languages Ecosystem.
 
PARAMETERS:
    None
 
RETURNS:
    teradataml DataFrame
 
RAISES:
    TeradataMLException.
 
EXAMPLES:
# Example 1: List files installed in the Vantage Ecosystem.
# Install the file mapper.py found at the relative path data/scripts/ 
>>> install_file (file_identifier='mapper', file_path='data/scripts/mapper.py')
File mapper.py installed in Vantage
 
# List file installed in the Vantage Ecosystem.
>>> list_files()
       Files
0  mapper.py