Skip to content

Commit

Permalink
Add python example file
Browse files Browse the repository at this point in the history
  • Loading branch information
nietoga committed Jul 19, 2023
1 parent 4ff4157 commit 8c63092
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions public/etl/example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import pandas as pd

root_folder = "."

data = pd.read_csv(root_folder + "/input_file.csv")
newData = data[data["age"] > 18]
newData.to_csv(root_folder + "/output_file.csv", index=False)

0 comments on commit 8c63092

Please sign in to comment.