jmatejka / same-stats-different-graphs

MIT License
11 stars 1 forks source link

enhancement: simplify csv import #13

Open epogrebnyak opened 3 years ago

epogrebnyak commented 3 years ago

Instead of pkg.resource here

https://github.com/jmatejka/same-stats-different-graphs/blob/b4d82f3a2ff8ef5849fecbdfab6dccafccbc1370/samestats/samestats.py#L93

can use simple relative import, as in statmodels:

https://github.com/statsmodels/statsmodels/blob/1a579185724949cf671705ae4f743b449977cd5f/statsmodels/datasets/sunspots/data.py#L65-L66