Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
mgbam
/
BizIntel_AI
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
58f284c
BizIntel_AI
/
tools
/
csv_parser.py
mgbam
Update tools/csv_parser.py
414568a
verified
about 1 month ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
pandas
as
pd
def
parse_csv_tool
(
file_path:
str
) ->
str
:
df = pd.read_csv(file_path)
return
f"Schema:
{
list
(df.columns)}
\\n\\nStats:\\n
{df.describe().to_string()}
"