Skip to content
#

data-science

Here are 9,075 public repositories matching this topic...

HendricButz
HendricButz commented Nov 17, 2019

I got a conllU file, from my university, where the head column is filled with .
Processing such file with the cli.convert method will result in a int cast error in
https://github.com/explosion/spaCy/blob/master/spacy/cli/converters/conllu2json.py line 73
in the read_conllx method (head = (int(head) - 1) if head != "0" else id
).

In the format documentation on https://universaldependencie

gensim
paulrigor
paulrigor commented Nov 7, 2019

Client code:
model = LogEntropyModel(corpus=data_corpus, normalize=True)
Referenced code:
https://github.com/RaRe-Technologies/gensim/blob/44ea7931c916349821aa1c717fbf7e90fb138297/gensim/models/logentropy_model.py#L115

Exception thrown:

  File "/anaconda3/lib/python3.7/site-packages/gensim/models/logentropy_model.py", line 76, in __init__
    self.initialize(corpus)
  File 
ostephens
ostephens commented Sep 20, 2019

Describe the bug
If you enter a string into a cell such as "3" and then use "toNumber()" to convert it to a number, toNumber() first tries to parse as a Long, and then tries parsing as a Double. So "3" will be stored as a Long, while "3.0" will be stored as a Double

However, if you edit a cell by using the single cell "edit" option and enter a number, and change the 'type' to Number, OR on

miguelgfierro
miguelgfierro commented Mar 29, 2019

Description

@wutaomsft suggestion:

it would be a good discussion point what is preferred way to make references in notebooks. I prefer not to have a"reference" section where references are separate from where they are referred. Instead, link the reference "in place". And then add a paragraph for "additional reading", which is more descr

tvst
tvst commented Oct 8, 2019

Today you can put Streamlit in "wide mode" via the Settings dialog in the UI. However, it would be great if the wide mode setting were sticky.

Option 1: just make Wide Mode sticky by persisting it in local storage!

Option 2: Provide a config option that toggles wide mode:

[browser]
wideMode = True

(for this we'd have to replicate much of the code used to propagate settin

You can’t perform that action at this time.