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...
1fadf44
BizIntel_AI
/
tools
/
csv_parser.py
mgbam
Upload 3 files
758f9f6
verified
about 1 month ago
raw
Copy download link
history
blame
Safe
177 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()}
"