jglaser commited on
Commit
08e2855
1 Parent(s): f1fd211

add generate_tables

Browse files
Files changed (1) hide show
  1. binding_affinity.py +7 -0
binding_affinity.py CHANGED
@@ -163,3 +163,10 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
163
  "neg_log10_affinity_M": row["neg_log10_affinity_M"],
164
  "affinity_uM": row["affinity_uM"],
165
  }
 
 
 
 
 
 
 
 
163
  "neg_log10_affinity_M": row["neg_log10_affinity_M"],
164
  "affinity_uM": row["affinity_uM"],
165
  }
166
+
167
+ def _generate_tables(self, files):
168
+ for i, file in enumerate(files):
169
+ df = pd.read_parquet(
170
+ file
171
+ )
172
+ yield i, df