File tree 2 files changed +24
-23
lines changed
spec/API_specification/dataframe_api
2 files changed +24
-23
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
2
Function stubs and API documentation for the DataFrame API standard.
3
3
"""
4
+ from typing import Sequence
4
5
5
6
from .column_object import *
6
7
from .dataframe_object import *
12
13
String representing the version of the DataFrame API specification to which the
13
14
conforming implementation adheres.
14
15
"""
16
+
17
+ def concat (dataframes : Sequence [DataFrame ]) -> DataFrame :
18
+ """
19
+ Concatenate DataFrames vertically.
20
+
21
+ To concatenate horizontally, please use ``insert``.
22
+
23
+ Parameters
24
+ ----------
25
+ dataframes : Sequence[DataFrame]
26
+ DataFrames to concatenate.
27
+ Column names, ordering, and dtypes must match.
28
+
29
+ Notes
30
+ -----
31
+ The order in which the input DataFrames appear in
32
+ the output is preserved.
33
+
34
+ Returns
35
+ -------
36
+ DataFrame
37
+ """
38
+ ...
Original file line number Diff line number Diff line change @@ -241,29 +241,6 @@ def get_column_names(self) -> Sequence[str]:
241
241
"""
242
242
...
243
243
244
- def concat (self , other : Sequence [DataFrame ]) -> DataFrame :
245
- """
246
- Concatenate current and other DataFrames vertically.
247
-
248
- To concatenate horizontally, please use ``insert``.
249
-
250
- Parameters
251
- ----------
252
- other : Sequence[DataFrame]
253
- DataFrames to concatenate with.
254
- Column names, ordering, and dtypes must match.
255
-
256
- Notes
257
- -----
258
- The order in which the input DataFrames appear in
259
- the output is preserved.
260
-
261
- Returns
262
- -------
263
- DataFrame
264
- """
265
- ...
266
-
267
244
def sorted_indices (
268
245
self ,
269
246
keys : Sequence [str ],
You can’t perform that action at this time.
0 commit comments