mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
just do 5
This commit is contained in:
parent
5770e0f066
commit
da79ccf759
1 changed files with 2 additions and 1 deletions
|
|
@ -211,7 +211,8 @@ def handler(event, context):
|
||||||
csv_data = read_csv_from_s3_dict(bucket, key)
|
csv_data = read_csv_from_s3_dict(bucket, key)
|
||||||
df = pd.DataFrame(csv_data)
|
df = pd.DataFrame(csv_data)
|
||||||
|
|
||||||
df = df.head(1983)
|
# df = df.head(1983)
|
||||||
|
df = df.head(5)
|
||||||
|
|
||||||
logger.info(f"CSV loaded: {len(df)} rows, {len(df.columns)} columns")
|
logger.info(f"CSV loaded: {len(df)} rows, {len(df.columns)} columns")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue