Skip to content

Commit eb28496

Browse files
committed
Handle a few errors generated by doc site builder
1 parent eba8f6c commit eb28496

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

docs/source/user-guide/common-operations/aggregations.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ to form a single summary value. For performing an aggregation, DataFusion provid
2626

2727
.. ipython:: python
2828
29-
from datafusion import SessionContext
30-
from datafusion import col, lit
31-
from datafusion import functions as f
29+
from datafusion import SessionContext, col, lit, functions as f
3230
3331
ctx = SessionContext()
3432
df = ctx.read_csv("pokemon.csv")

docs/source/user-guide/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ display that may be easier to read.
7272
7373
display(df)
7474
75-
.. image:: ../../_static/images/jupyter_lab_df_view.png
75+
.. image:: ../images/jupyter_lab_df_view.png
7676
:width: 800
7777
:alt: Rendered table showing Pokemon DataFrame

python/datafusion/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def join_on(
473473
*on_exprs: Expr,
474474
how: Literal["inner", "left", "right", "full", "semi", "anti"] = "inner",
475475
) -> DataFrame:
476-
"""Join two :py:class:`DataFrame`using the specified expressions.
476+
"""Join two :py:class:`DataFrame` using the specified expressions.
477477
478478
On expressions are used to support in-equality predicates. Equality
479479
predicates are correctly optimized

python/datafusion/plan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class LogicalPlan:
4242
(table) with a potentially different schema. Plans form a dataflow tree
4343
where data flows from leaves up to the root to produce the query result.
4444
45-
`LogicalPlan`s can be created by the SQL query planner, the DataFrame API,
45+
A `LogicalPlan` can be created by the SQL query planner, the DataFrame API,
4646
or programmatically (for example custom query languages).
4747
"""
4848

@@ -107,7 +107,7 @@ def __init__(self, plan: df_internal.ExecutionPlan) -> None:
107107
self._raw_plan = plan
108108

109109
def children(self) -> List[ExecutionPlan]:
110-
"""Get a list of children `ExecutionPlan`s that act as inputs to this plan.
110+
"""Get a list of children `ExecutionPlan` that act as inputs to this plan.
111111
112112
The returned list will be empty for leaf nodes such as scans, will contain a
113113
single value for unary nodes, or two values for binary nodes (such as joins).

0 commit comments

Comments
 (0)