mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 03:12:57 +00:00
[Docs] Small typo fixes (#460)
This commit is contained in:
@@ -16,7 +16,7 @@ from __future__ import annotations
|
||||
import os
|
||||
from abc import ABC, abstractmethod
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from typing import Optional, Union
|
||||
|
||||
import pyarrow as pa
|
||||
from pyarrow import fs
|
||||
@@ -40,7 +40,7 @@ class DBConnection(ABC):
|
||||
self,
|
||||
name: str,
|
||||
data: Optional[DATA] = None,
|
||||
schema: Optional[pa.Schema, LanceModel] = None,
|
||||
schema: Optional[Union[pa.Schema, LanceModel]] = None,
|
||||
mode: str = "create",
|
||||
on_bad_vectors: str = "error",
|
||||
fill_value: float = 0.0,
|
||||
@@ -285,7 +285,7 @@ class LanceDBConnection(DBConnection):
|
||||
self,
|
||||
name: str,
|
||||
data: Optional[DATA] = None,
|
||||
schema: Optional[pa.Schema, LanceModel] = None,
|
||||
schema: Optional[Union[pa.Schema, LanceModel]] = None,
|
||||
mode: str = "create",
|
||||
on_bad_vectors: str = "error",
|
||||
fill_value: float = 0.0,
|
||||
|
||||
@@ -75,7 +75,7 @@ def _to_record_batch_generator(data: Iterable, schema, on_bad_vectors, fill_valu
|
||||
|
||||
class Table(ABC):
|
||||
"""
|
||||
A [Table](Table) is a collection of Records in a LanceDB [Database](Database).
|
||||
A Table is a collection of Records in a LanceDB Database.
|
||||
|
||||
Examples
|
||||
--------
|
||||
@@ -511,7 +511,7 @@ class LanceTable(Table):
|
||||
other_table: Union[LanceTable, ReaderLike],
|
||||
left_on: str,
|
||||
right_on: Optional[str] = None,
|
||||
schema: Optional[pa.Schema, LanceModel] = None,
|
||||
schema: Optional[Union[pa.Schema, LanceModel]] = None,
|
||||
):
|
||||
"""Merge another table into this table.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user