[Python] pyarrow autocomplete/intellisense in vscode

Discussão em 'Python' iniciado por Stack, Setembro 5, 2025.

  1. Stack

    Stack Membro Participativo

    import pyarrow as pa

    data = [
    pa.array([1, 2, 3, 4]),
    pa.array(['foo', 'bar', 'baz', None]),
    pa.array([True, None, False, True])

    ]

    batch : pa.RecordBatch = pa.record_batch(data, names=['f0', 'f1', 'f2'])


    Above is the code I'm editing in vscode using the ms-python.python/ms-python.vscode-pylance extensions:

    [​IMG]

    I'm not getting any autocomplete of methods/parameters etc., likely as most of pyarrow is implemented in native code. Are there any stubs, settings or other things I can do to get some nice autocomplete/intellisense with pyarrow in vscode ?

    Continue reading...

Compartilhe esta Página