Skip to content

Commit

Permalink
Inital testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
ldavies99 committed Oct 24, 2024
1 parent 8294415 commit ba419c9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mbs_results/csw_to_spp_converter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import glob

import pandas as pd


def csw_to_spp(filepath):

files = glob.glob(filepath + "qv*") + glob.glob(filepath + "cp*")

li = []

for f in files:

temp_df = pd.read_csv(f)

li.append(temp_df)

print(f"Successfully created dataframe for {f} with shape {temp_df.shape}")

0 comments on commit ba419c9

Please sign in to comment.