Skip to content

Commit

Permalink
Merge pull request #264 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
chfw committed Sep 9, 2022
2 parents d8b9650 + f71c75b commit ee0722a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/source/renderers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Draw charts from your excel data
`pyexcel-echarts`_ draws 2D, 3D, geo charts from pyexcel data and has awesome animations too, but
it is under development.

`pyexcel-matplotlib`_ helps you with scientific charts and is under developmement.
`pyexcel-matplotlib`_ helps you with scientific charts and is under development.

Gantt chart visualization for your excel data
-------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions pyexcel/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def isave_as(**keywords):
"""
Save a sheet from a data source to another one with less memory
It is simliar to :meth:`pyexcel.save_as` except that it does
It is similar to :meth:`pyexcel.save_as` except that it does
not accept parameters for :class:`pyexcel.Sheet`. And it read
when it writes.
"""
Expand Down Expand Up @@ -117,7 +117,7 @@ def isave_book_as(**keywords):
"""
Save a book from a data source to another one
It is simliar to :meth:`pyexcel.save_book_as` but it read
It is similar to :meth:`pyexcel.save_book_as` but it read
when it writes. This function provide some speedup but
the output data is not made uniform.
"""
Expand Down
4 changes: 2 additions & 2 deletions pyexcel/internal/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def stream(self):
+---+
Where b.stream.xls.getvalue() is equivalent to b.xls. In some situation
b.stream.xls is prefered than b.xls.
b.stream.xls is preferred than b.xls.
Sheet examples::
Expand All @@ -187,7 +187,7 @@ def stream(self):
+---+
Where s.stream.xls.getvalue() is equivalent to s.xls. In some situation
s.stream.xls is prefered than s.xls.
s.stream.xls is preferred than s.xls.
It is similar to :meth:`~pyexcel.Book.save_to_memory`.
"""
Expand Down
4 changes: 2 additions & 2 deletions pyexcel/internal/sheets/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def format(self, formatter):
Example::
>>> import pyexcel as pe
>>> # Given a dictinoary as the following
>>> # Given a dictionary as the following
>>> data = {
... "1": [1, 2, 3, 4, 5, 6, 7, 8],
... "3": [1.25, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8],
Expand All @@ -740,7 +740,7 @@ def map(self, custom_function):
Example::
>>> import pyexcel as pe
>>> # Given a dictinoary as the following
>>> # Given a dictionary as the following
>>> data = {
... "1": [1, 2, 3, 4, 5, 6, 7, 8],
... "3": [1.25, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8],
Expand Down
2 changes: 1 addition & 1 deletion pyexcel/plugins/parsers/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


class SQLAlchemyExporter(DbParser):
"""export data via sqlalchmey"""
"""export data via sqlalchemy"""

def parse_db(
self, argument, export_columns_list=None, on_demand=False, **keywords
Expand Down
2 changes: 1 addition & 1 deletion pyexcel/plugins/sources/db_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_data(self):
return data

def get_params(self):
"""form the paraneters for the db parser and renderer"""
"""form the parameters for the db parser and renderer"""
pass

def get_source_info(self):
Expand Down
2 changes: 1 addition & 1 deletion pyexcel/plugins/sources/output_to_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def write_data(self, sheet):
# pylint: disable=W0223
class WriteBookToMemory(WriteSheetToMemory):
"""
Multiple sheet data source for writting back to memory
Multiple sheet data source for writing back to memory
"""

def write_data(self, book):
Expand Down
4 changes: 2 additions & 2 deletions pyexcel/sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def project(self, new_ordered_columns, exclusion=False):
Rearrange the sheet.
:ivar new_ordered_columns: new columns
:ivar exclusion: to exlucde named column or not. defaults to False
:ivar exclusion: to exclude named column or not. defaults to False
Example::
Expand Down Expand Up @@ -628,7 +628,7 @@ def __str__(self):


def make_names_unique(alist):
"""Append the number of occurences to duplicated names"""
"""Append the number of occurrences to duplicated names"""
duplicates = {}
new_names = []
for item in alist:
Expand Down
2 changes: 1 addition & 1 deletion pyexcel/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class MemorySourceMixin(object):
"""

def get_content(self):
"""Get memory repsentation of the formatted data
"""Get memory representation of the formatted data
e.g. StringIO instance which contains the csv formatted data
"""
Expand Down

0 comments on commit ee0722a

Please sign in to comment.