Allow users to import CSV data

Open
#9 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing the existing PyChart chart API and the proposed PyChart.import_CSV(file="files/path.csv", type="bar") entry point. Use the supplied Chrome-export-style CSV as the input example, and define what supported chart types and CSV-to-chart behavior must be covered before considering the feature complete.

Written by the indexing model from the issue text.

Description

enhancement

Allowing users to read in CSV data would come in handy. For instance, Google Chrome store exports statistics into CSV files. Analyzing them in pychart would be nice.

PyChart would ideally read in the CSV file and format to a given chart type.

Example code could be: chart_instance = PyChart.import_CSV(file="files/path.csv", type="bar") where file is a path to the specific CSV file and type is a type of chart (bar, scatter, pie, etc).

Example data might resemble:

"Date","Impressions","Installations"
"2016-02-08","115.0","3.0"
"2016-02-09","146.0","1.0"
"2016-02-10","152.0","1.0"
"2016-02-11","143.0","0.0"
"2016-02-12","123.0","2.0"
"2016-02-13","111.0","1.0"
"2016-02-14","110.0","1.0"
"2016-02-15","183.0","0.0"
"2016-02-16","185.0","4.0"
"2016-02-17","228.0","1.0"
"2016-02-18","257.0","1.0"
...
Dominant language
Python
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EliCDavis/PyChart

All issues in EliCDavis/PyChart

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.