Skip to content

Commit 98383d0

Browse files
committed
Update docstrings with examples in frame
1 parent 4946aa9 commit 98383d0

3 files changed

Lines changed: 323 additions & 16 deletions

File tree

src/danfojs-base/aggregators/groupby.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
/**
2+
* @license
3+
* Copyright 2021, JsData. All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
* ==========================================================================
14+
*/
115
import DataFrame from "../core/frame"
216
import { ArrayType1D, ArrayType2D } from "../shared/types"
3-
import { variance, std, median, mode, mean } from 'mathjs';
17+
import { variance, std, median, mode } from 'mathjs';
418
import concat from "../transformers/concat"
519
import Series from "../core/series";
620

src/danfojs-base/core/daterange.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/**
2+
* @license
3+
* Copyright 2021, JsData. All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
* ==========================================================================
14+
*/
115
import Utils from "../shared/utils";
216

317
const utils = new Utils();

0 commit comments

Comments
 (0)