Skip to content

Commit 86bc065

Browse files
committed
fix #611 : renamed the LArray class to Array
1 parent 211684a commit 86bc065

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2098
-2084
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Library Highlights
2020

2121
* User interface with an IPython console for rapid exploration of data
2222

23-
* Compatible with the pandas library: LArray objects can be converted into pandas DataFrame and vice versa.
23+
* Compatible with the pandas library: Array objects can be converted into pandas DataFrame and vice versa.
2424

2525
.. _start-install:
2626

doc/source/api.rst

Lines changed: 113 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ Testing
217217
AxisCollection.isaxis
218218
AxisCollection.check_compatible
219219

220-
.. _api-larray:
220+
.. _api-array:
221221

222-
LArray
223-
======
222+
Array
223+
=====
224224

225225
* :ref:`la_overview`
226226
* :ref:`la_creation_func`
@@ -247,7 +247,7 @@ Overview
247247
.. autosummary::
248248
:toctree: _generated/
249249

250-
LArray
250+
Array
251251

252252
.. _la_creation_func:
253253

@@ -276,32 +276,32 @@ Copying
276276
.. autosummary::
277277
:toctree: _generated/
278278

279-
LArray.copy
280-
LArray.astype
279+
Array.copy
280+
Array.astype
281281

282282
.. _la_inspecting:
283283

284284
Inspecting
285285
----------
286286

287-
=================== ==============================================================
288-
LArray.data Data of the array (Numpy ndarray)
289-
------------------- --------------------------------------------------------------
290-
LArray.axes Axes of the array (AxisCollection)
291-
------------------- --------------------------------------------------------------
292-
LArray.title Title of the array (str)
293-
=================== ==============================================================
287+
================== ==============================================================
288+
Array.data Data of the array (Numpy ndarray)
289+
------------------ --------------------------------------------------------------
290+
Array.axes Axes of the array (AxisCollection)
291+
------------------ --------------------------------------------------------------
292+
Array.title Title of the array (str)
293+
================== ==============================================================
294294

295295
.. autosummary::
296296
:toctree: _generated/
297297

298-
LArray.info
299-
LArray.shape
300-
LArray.ndim
301-
LArray.dtype
302-
LArray.size
303-
LArray.nbytes
304-
LArray.memory_used
298+
Array.info
299+
Array.shape
300+
Array.ndim
301+
Array.dtype
302+
Array.size
303+
Array.nbytes
304+
Array.memory_used
305305

306306
.. _la_selecting:
307307

@@ -311,16 +311,16 @@ Modifying/Selecting
311311
.. autosummary::
312312
:toctree: _generated/
313313

314-
LArray.i
315-
LArray.points
316-
LArray.ipoints
317-
LArray.iflat
318-
LArray.set
319-
LArray.drop
320-
LArray.ignore_labels
321-
LArray.filter
322-
LArray.apply
323-
LArray.apply_map
314+
Array.i
315+
Array.points
316+
Array.ipoints
317+
Array.iflat
318+
Array.set
319+
Array.drop
320+
Array.ignore_labels
321+
Array.filter
322+
Array.apply
323+
Array.apply_map
324324

325325
.. _la_axes_labels:
326326

@@ -330,12 +330,12 @@ Changing Axes or Labels
330330
.. autosummary::
331331
:toctree: _generated/
332332

333-
LArray.set_axes
334-
LArray.rename
335-
LArray.set_labels
336-
LArray.combine_axes
337-
LArray.split_axes
338-
LArray.reverse
333+
Array.set_axes
334+
Array.rename
335+
Array.set_labels
336+
Array.combine_axes
337+
Array.split_axes
338+
Array.reverse
339339

340340
.. _la_agg:
341341

@@ -345,30 +345,30 @@ Aggregation Functions
345345
.. autosummary::
346346
:toctree: _generated/
347347

348-
LArray.sum
349-
LArray.sum_by
350-
LArray.prod
351-
LArray.prod_by
352-
LArray.cumsum
353-
LArray.cumprod
354-
LArray.mean
355-
LArray.mean_by
356-
LArray.median
357-
LArray.median_by
358-
LArray.var
359-
LArray.var_by
360-
LArray.std
361-
LArray.std_by
362-
LArray.percentile
363-
LArray.percentile_by
364-
LArray.ptp
365-
LArray.with_total
366-
LArray.percent
367-
LArray.ratio
368-
LArray.rationot0
369-
LArray.growth_rate
370-
LArray.describe
371-
LArray.describe_by
348+
Array.sum
349+
Array.sum_by
350+
Array.prod
351+
Array.prod_by
352+
Array.cumsum
353+
Array.cumprod
354+
Array.mean
355+
Array.mean_by
356+
Array.median
357+
Array.median_by
358+
Array.var
359+
Array.var_by
360+
Array.std
361+
Array.std_by
362+
Array.percentile
363+
Array.percentile_by
364+
Array.ptp
365+
Array.with_total
366+
Array.percent
367+
Array.ratio
368+
Array.rationot0
369+
Array.growth_rate
370+
Array.describe
371+
Array.describe_by
372372

373373
.. _la_sorting:
374374

@@ -378,10 +378,10 @@ Sorting
378378
.. autosummary::
379379
:toctree: _generated/
380380

381-
LArray.sort_axes
382-
LArray.sort_values
383-
LArray.labelsofsorted
384-
LArray.indicesofsorted
381+
Array.sort_axes
382+
Array.sort_values
383+
Array.labelsofsorted
384+
Array.indicesofsorted
385385

386386
.. _la_reshaping:
387387

@@ -391,18 +391,18 @@ Reshaping/Extending/Reordering
391391
.. autosummary::
392392
:toctree: _generated/
393393

394-
LArray.reshape
395-
LArray.reshape_like
396-
LArray.compact
397-
LArray.reindex
398-
LArray.transpose
399-
LArray.expand
400-
LArray.prepend
401-
LArray.append
402-
LArray.extend
403-
LArray.insert
404-
LArray.broadcast_with
405-
LArray.align
394+
Array.reshape
395+
Array.reshape_like
396+
Array.compact
397+
Array.reindex
398+
Array.transpose
399+
Array.expand
400+
Array.prepend
401+
Array.append
402+
Array.extend
403+
Array.insert
404+
Array.broadcast_with
405+
Array.align
406406

407407
.. _la_testing:
408408

@@ -412,22 +412,22 @@ Testing/Searching
412412
.. autosummary::
413413
:toctree: _generated/
414414

415-
LArray.equals
416-
LArray.eq
417-
LArray.isin
418-
LArray.nonzero
419-
LArray.all
420-
LArray.all_by
421-
LArray.any
422-
LArray.any_by
423-
LArray.min
424-
LArray.min_by
425-
LArray.max
426-
LArray.max_by
427-
LArray.labelofmin
428-
LArray.indexofmin
429-
LArray.labelofmax
430-
LArray.indexofmax
415+
Array.equals
416+
Array.eq
417+
Array.isin
418+
Array.nonzero
419+
Array.all
420+
Array.all_by
421+
Array.any
422+
Array.any_by
423+
Array.min
424+
Array.min_by
425+
Array.max
426+
Array.max_by
427+
Array.labelofmin
428+
Array.indexofmin
429+
Array.labelofmax
430+
Array.indexofmax
431431

432432
.. _la_iter:
433433

@@ -437,18 +437,18 @@ Iterating
437437
.. autosummary::
438438
:toctree: _generated/
439439

440-
LArray.keys
441-
LArray.values
442-
LArray.items
440+
Array.keys
441+
Array.values
442+
Array.items
443443

444444
.. _la_op:
445445

446446
Operators
447447
---------
448448

449-
=================================================== ==============================
450-
:py:meth:`@ <LArray.__matmul__>` Matrix multiplication
451-
=================================================== ==============================
449+
================================================== ==============================
450+
:py:meth:`@ <Array.__matmul__>` Matrix multiplication
451+
================================================== ==============================
452452

453453
.. _la_misc:
454454

@@ -458,13 +458,13 @@ Miscellaneous
458458
.. autosummary::
459459
:toctree: _generated/
460460

461-
LArray.divnot0
462-
LArray.clip
463-
LArray.shift
464-
LArray.roll
465-
LArray.diff
466-
LArray.unique
467-
LArray.to_clipboard
461+
Array.divnot0
462+
Array.clip
463+
Array.shift
464+
Array.roll
465+
Array.diff
466+
Array.unique
467+
Array.to_clipboard
468468

469469
.. _la_to_pandas:
470470

@@ -474,8 +474,8 @@ Converting to Pandas objects
474474
.. autosummary::
475475
:toctree: _generated/
476476

477-
LArray.to_series
478-
LArray.to_frame
477+
Array.to_series
478+
Array.to_frame
479479

480480
.. _la_plotting:
481481

@@ -485,7 +485,7 @@ Plotting
485485
.. autosummary::
486486
:toctree: _generated/
487487

488-
LArray.plot
488+
Array.plot
489489

490490
.. _api-ufuncs:
491491

@@ -652,11 +652,11 @@ Write
652652
.. autosummary::
653653
:toctree: _generated/
654654

655-
LArray.to_csv
656-
LArray.to_excel
657-
LArray.to_hdf
658-
LArray.to_stata
659-
LArray.dump
655+
Array.to_csv
656+
Array.to_excel
657+
Array.to_hdf
658+
Array.to_stata
659+
Array.dump
660660

661661
Excel
662662
=====

doc/source/changes/template.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Syntax changes
55
^^^^^^^^^^^^^^
66

7-
* renamed ``LArray.old_method_name()`` to :py:obj:`LArray.new_method_name()` (closes :issue:`1`).
7+
* renamed ``Array.old_method_name()`` to :py:obj:`Array.new_method_name()` (closes :issue:`1`).
88

9-
* renamed ``old_argument_name`` argument of :py:obj:`LArray.method_name()` to ``new_argument_name``.
9+
* renamed ``old_argument_name`` argument of :py:obj:`Array.method_name()` to ``new_argument_name``.
1010

1111

1212
Backward incompatible changes

doc/source/changes/version_0_32.rst.inc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
Syntax changes
55
^^^^^^^^^^^^^^
66

7-
* renamed ``LArray.old_method_name()`` to :py:obj:`LArray.new_method_name()` (closes :issue:`1`).
8-
9-
* renamed ``old_argument_name`` argument of :py:obj:`LArray.method_name()` to ``new_argument_name``.
7+
* renamed the ``LArray`` class to :py:obj:`Array` (closes :issue:`611`).
108

119

1210
Backward incompatible changes

0 commit comments

Comments
 (0)