Giter Club home page Giter Club logo

poloniex-data's People

Contributors

jyunfan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

poloniex-data's Issues

TypeError: to_csv() got an unexpected keyword argument 'cols'

running this in a terminal, I get the following failure:
Traceback (most recent call last):
File "getdata.py", line 60, in
main()
File "getdata.py", line 56, in main
get_data(pair)
File "getdata.py", line 39, in get_data
df.to_csv(outf, index=False, cols=COLUMNS)
TypeError: to_csv() got an unexpected keyword argument 'cols'

Running in VS Code I get more:
Traceback (most recent call last):
File "/home/boyd/dev/poloniex-data/getdata.py", line 60, in
main()
File "/home/boyd/dev/poloniex-data/getdata.py", line 56, in main
get_data(pair)
File "/home/boyd/dev/poloniex-data/getdata.py", line 25, in get_data
df = pd.read_json(url, convert_dates=False)
File "/home/boyd/.local/lib/python3.5/site-packages/pandas/io/json/json.py", line 322, in read_json
encoding=encoding)
File "/home/boyd/.local/lib/python3.5/site-packages/pandas/io/common.py", line 191, in get_filepath_or_buffer
reader = BytesIO(req.read())
File "/usr/lib/python3.5/http/client.py", line 455, in read
return self._readall_chunked()
File "/usr/lib/python3.5/http/client.py", line 565, in _readall_chunked
raise IncompleteRead(b''.join(value))
http.client.IncompleteRead: IncompleteRead(363903 bytes read)

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.