From 052249d1722653106de7ef7a81ef56a8558b77db Mon Sep 17 00:00:00 2001 From: Kim Raymond <44445641+kar400@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:29:29 -0400 Subject: [PATCH] Update how-to-access-data-interactive.md Removed extra slash in lines "for path in fs.glob('/>folder>/*.parquet'):" in sections: Read a folder of CSV files in to Pandas; Read a folder of parquet files into Pandas. --- articles/machine-learning/how-to-access-data-interactive.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/machine-learning/how-to-access-data-interactive.md b/articles/machine-learning/how-to-access-data-interactive.md index 239428ce511..32dddc48753 100644 --- a/articles/machine-learning/how-to-access-data-interactive.md +++ b/articles/machine-learning/how-to-access-data-interactive.md @@ -174,7 +174,7 @@ fs = AzureMachineLearningFileSystem(uri) # append csv files in folder to a list dflist = [] -for path in fs.glob('//*.csv'): +for path in fs.glob('/*.csv'): with fs.open(path) as f: dflist.append(pd.read_csv(f)) @@ -213,7 +213,7 @@ fs = AzureMachineLearningFileSystem(uri) # append parquet files in folder to a list dflist = [] -for path in fs.glob('//*.parquet'): +for path in fs.glob('/*.parquet'): with fs.open(path) as f: dflist.append(pd.read_parquet(f))