Skip to content

s3 read_json doesn't support parameter "lines" #1658

@adaspadas

Description

@adaspadas

pandas read_json has parameter "lines", which by default is to False.

As I understand aws-sdk-pandas doesn't support this feature, so on lambda I tried to use pandas library, which comes together with sdk layer.

df = pd.read_json(f"s3://{bucket}/{file}", lines=True)

However, I'm facing this error:

[ERROR] ImportError: Missing optional dependency 'fsspec'. Use pip or conda to install fsspec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions