mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
get rid of df.head and control the inputs instead
This commit is contained in:
parent
58843a5409
commit
8163a97b97
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ def handler(body: dict[str, Any], context: Any, local: bool = False) -> None:
|
|||
# Assumption designing with address2uprn was ran first
|
||||
csv_data = read_csv_from_s3_dict(bucket, key)
|
||||
df = pd.DataFrame(csv_data)
|
||||
df = df.head(5)
|
||||
# df = df.head(5)
|
||||
|
||||
# If lexiscore_column is specified, use it; otherwise process all rows
|
||||
if lexiscore_column and lexiscore_column in df.columns:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue