Giter Club home page Giter Club logo

danielgp / tableau-hyper-management Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 2.0 506 KB

Manage importing any CSV file into Tableau-Hyper format (to be used with Tableau Desktop/Server) with minimal configuration (as column detection, content type detection and reinterpretation of content are part of the included logic) with additional script to publish to Tableau Sever as well

License: GNU Lesser General Public License v3.0

Python 100.00%
tableau-hyper tableau tableau-server tableau-extract detection csv column-detection

tableau-hyper-management's People

Contributors

danielgp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tableau-hyper-management's Issues

Given folder "" does not exist

hello, please help, I'm stuck at below output, any idea is appreciated!

D:\Downloads\tableau-hyper-management-master\virtual_environment\Scripts>python D:\Downloads\tableau-hyper-management-master\sources\converter.py -i D:\Downloads\tableau-hyper-management-master\34095_20170502 -f csv -o D:\Downloads
2020-05-30 15:39:38.736334 - File D:/Downloads/tableau-hyper-management-master/sources/config/tableau-hyper-management.json has just been opened
2020-05-30 15:39:38.736334 - JSON structure interpreted
2020-05-30 15:39:38.738334 - Given folder "" does not exist

v1.5.11 not on PyPI

There is a tag here on GitHub for v1.5.11, however that version does not yet exist on PyPI, which only has 1.5.10

Error creating .hyper file

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Example CSV
user_id,target_level,is_payer,days_for_target_level
abcd,11,false,0.0
abcd,12,false,1.0
abcd,13,false,3.0
abcd,14,false,506.0
abcd,15,false,506.0
abcd,16,false,506.0
abcd,17,false,506.0
xyz,2,false,0.0
xyz,3,false,0.0
  1. python3 tableau-hyper-management/main.py --input-file test.csv --csv-field-separator , --output-file test.hyper

Expected behavior

2020-Feb-20 11:40:53.865085 UTC - Input file is test.csv
2020-Feb-20 11:40:53.865116 UTC - CSV field separator is ,
2020-Feb-20 11:40:53.865129 UTC - Unique values to analyze is limited to 200
2020-Feb-20 11:40:53.865140 UTC - Output file is test.hyper

Traceback (most recent call last):
File "tableau-hyper-management/main.py", line 45, in
parameters_interpreted)
File "/home/ubuntu/tableau-hyper-management/tableau_hyper_management/TypeDetermination.py", line 84, in fn_detect_csv_structure
in_prmtrs.verbose)
IndexError: list assignment index out of range

Desktop (please complete the following information):

Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

Tested on c5.4xlarge AWS EC2 instance

Additional context
I am not sure why this is giving me a list index out of bounds error. Any help would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.