Skip to content

Some suggestions on V3 #1808

@jamie0725

Description

@jamie0725

🚀 The feature

  1. Add **kwargs to pai.read_csv to pass extra params to pd.read_csv (e.g. low_memory=False)
  2. Allow declaring output_type in dataframe.chat similar to v2
  3. pai.create could have a param overwrite which doesn't throw FileExistError when set to True

Motivation, pitch

  1. Without proper configuration, my CSV file, which is over 500MB, will result in mixed data types.
  2. In my scenario, the model should consistently return a DataFrame.
  3. In my scenario, I need to update my data periodically; therefore, I need to use pai.create from time to time.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions