Skip to content

Excel name containing non-English characters error #1809

@hoysen0628

Description

@hoysen0628

System Info

os=win11 | python= 3.11.9 | pandasai~=3.0.0b19

🐛 Describe the bug

Non English characters have been replaced with _, which does not comply with SemanticLayerSchema validation

statement_df = pai.read_excel(f"D:\\Desktop\\银行流水Excel\\工商银行.xlsx")

error:
ValidationError: 1 validation error for SemanticLayerSchema Value error, Dataset name must be lowercase and use underscores instead of spaces. E.g. 'dataset_name'. [type=value_error, input_value={'name': 'table_____', 's...sion=None, alias=None)]}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/value_error

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions