Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read tool fix #1236

Merged
merged 9 commits into from
Sep 14, 2023
Merged

Read tool fix #1236

merged 9 commits into from
Sep 14, 2023

Conversation

rounak610
Copy link
Collaborator

@rounak610 rounak610 commented Sep 14, 2023

Description

The “Error tokenizing data” message usually indicates that there is an issue with how the data is formatted in the CSV file. This can be due to a number of reasons, such as:

There are missing values in the CSV file that are not properly represented.
The delimiter used in the file is not consistent throughout the file.
There are unbalanced quotes in the CSV file.
There are special characters in the CSV file that are not properly encoded.

Related Issues

Solution and Design

Test Plan

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update

Checklist

  • My pull request is atomic and focuses on a single change.
  • I have read the contributing guide and my code conforms to the guidelines.
  • I have documented my changes clearly and comprehensively.
  • I have added the required tests.

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Patch coverage: 32.14% and project coverage change: -0.07% ⚠️

Comparison is base (9519aca) 58.98% compared to head (5d8772d) 58.91%.
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1236      +/-   ##
==========================================
- Coverage   58.98%   58.91%   -0.07%     
==========================================
  Files         226      227       +1     
  Lines       10870    10898      +28     
  Branches     1157     1160       +3     
==========================================
+ Hits         6412     6421       +9     
- Misses       4142     4160      +18     
- Partials      316      317       +1     
Files Changed Coverage Δ
superagi/helper/validate_csv.py 22.72% <22.72%> (ø)
superagi/tools/file/read_file.py 65.57% <66.66%> (+0.11%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Tarraann Tarraann merged commit 6b86162 into dev Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants