Skip to content

Commit d6f20ba

Browse files
committed
documentation
1 parent ad8416a commit d6f20ba

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

_doc/sphinxdoc/source/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,17 @@
6565
'Dataframe': 'https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html',
6666
'DataFrame': 'https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html',
6767
'dataframes': 'https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html',
68+
'Hadoop': 'http://hadoop.apache.org/',
69+
'ijson': 'https://github.com/ICRAR/ijson',
6870
'pandas': ('http://pandas.pydata.org/pandas-docs/stable/',
6971
('http://pandas.pydata.org/pandas-docs/stable/generated/pandas.{0}.html', 1),
7072
('http://pandas.pydata.org/pandas-docs/stable/generated/pandas.{0}.{1}.html', 2)),
71-
'sklearn': ('http://scikit-learn.org/stable/',
72-
('http://scikit-learn.org/stable/modules/generated/{0}.html', 1),
73-
('http://scikit-learn.org/stable/modules/generated/{0}.{1}.html', 2)),
74-
'Hadoop': 'http://hadoop.apache.org/',
7573
'pyarrow': 'https://arrow.apache.org/docs/python/',
7674
'pyspark': 'http://spark.apache.org/docs/2.1.1/api/python/index.html',
7775
'scikit-multiflow': 'https://scikit-multiflow.github.io/',
76+
'sklearn': ('http://scikit-learn.org/stable/',
77+
('http://scikit-learn.org/stable/modules/generated/{0}.html', 1),
78+
('http://scikit-learn.org/stable/modules/generated/{0}.{1}.html', 2)),
7879
'streamz': 'https://streamz.readthedocs.io/en/latest/index.html',
7980
'tornado': 'https://www.tornadoweb.org/en/stable/',
8081
})

pandas_streaming/df/dataframe_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def pandas_groupby_nan(df, by, axis=0, as_index=False, suffix=None, nanback=True
376376
typ = {c: t for c, t in zip( # pylint: disable=R1721
377377
df.columns, df.dtypes)} # pylint: disable=R1721
378378
if typ[by[0]] != do:
379-
warnings.warn(
379+
warnings.warn( # pragma: no cover
380380
"[pandas_groupby_nan] NaN value: {0}".format(rep))
381381
return res
382382
for b in by:

pandas_streaming/df/dataframe_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def to_zip(df, zipfilename, zname="df.csv", **kwargs):
6767
stb = io.StringIO()
6868
ext = os.path.splitext(zname)[-1]
6969
if ext == '.npy':
70-
raise ValueError(
70+
raise ValueError( # pragma: no cover
7171
"Extension '.npy' cannot be used to save a dataframe.")
7272
df.to_csv(stb, **kwargs)
7373
elif isinstance(df, numpy.ndarray):

0 commit comments

Comments
 (0)