Forums
How to read data from web url in pipeline using python? - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Data Pipeline (https://bdn.bdb.ai/forumdisplay.php?fid=48)
+---- Forum: BDB Data Pipeline Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=17)
+---- Thread: How to read data from web url in pipeline using python? (/showthread.php?tid=349)



How to read data from web url in pipeline using python? - shreekantgosavi - 12-21-2022

Use python script component.
Paste below script in meta information script section.
Provide URL where csv file is located.

import pandas as pd
def read_data():
   url = 'http://example.com/path/to/file.csv'
   df = pd.read_csv(url)
   return df