-
my python file:
with Run().context(RunConfig(nranks=1)):
config = ColBERTConfig(doc_maxlen=doc_maxlen, nbits=nbits)
indexer = Indexer(checkpoint=checkpoint, config=config)
indexer.index(n…
-
In section **1.2 What are Python Lists?**
-Python is not bolded at the 3rd bulleted point (as it is in all other instances). Consider using bold font for consistency.
In subsection **1.2.2 Ab…
-
Currently, Chapel arrays export as numpy ndarrays. This makes sense, because ndarrays can be multidimensional like Chapel arrays (among other reasons). This is a feature request to support exporting C…
-
Hi,
thanks for taking the time to create this little script. I was just searching for an easy way to export my data and found this. I followed the guide and everything went smoothly, but the script f…
-
``` python
import pprint
A = [[0]*3]*3
pprint.pprint(A, width=15)
A[0][0] = 1
pprint.pprint(A, width=15)
```
-
Is it worth switching from Python Lists to NumPy arrays as the basis for frames? OnAIR already seems to use NumPy in a lot of places, and NumPy arrays are more static and have more requirements than P…
-
```js
export const someComponent = () => {
const programmers = [
{
name: "John Doe",
language: "Golang",
},
{
name: "Alice Mary",
language: "Python",
…
-
`etuplize` currently transforms a Python list to an expression tuple that contains the elements of the list:
```python
from etuples import etuplize
from etuples.core import InvalidExpression
e…
rlouf updated
2 years ago
-
@EinarElen caught this bug when working on
https://github.com/LDMX-Software/ldmx-sw/issues/1007
Basically, the recursion request
https://github.com/LDMX-Software/Framework/blob/450de15e79da1…
-
**Bug Report**
Inside a list comprehension mypy fails to derive the union type for lists but not for tuples.
**To Reproduce**
```python
a = 5
b = "a_string"
list1: list[int | str] = [x for…