pandas 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5845e512ac286c2873cc545fe502651ad3a03809dfea647359518288e0ccaa4c
4
- data.tar.gz: 6f2a32da517eef9d2ac24c3dcce6955e821c4dc8acf3bc3be38ce1d6c26b37d0
3
+ metadata.gz: 9626959ac5c10565684676b14d07fb00746cfd33ffed6e4d60f7472daf33539a
4
+ data.tar.gz: f7c87f1fb107618a7348edfdd97d8f349d64f896da4d2d4f730969498225f030
5
5
  SHA512:
6
- metadata.gz: 82f6cd41673329563152c627c0eab2adbe7db44a42896479a4857c957b9331ccef891d718d07d15acaa9d229864c84f9095da142ae9dbba3cf7250147ffa811f
7
- data.tar.gz: 20c4438064443f45e49fea4903fe9eb6eda15be7015de4ca1b80e4a2b6cb298010ddce3d596a5abf260b09f0c1c56cf65d5bd106ae6126ea958d46e27c70b6f9
6
+ metadata.gz: c7bca82d4cc864086fa7775e90ba0921768bdf1a746f94842f601f8061cce108b28c03e6210cf4596d48bfb6ba8f89b5bdc27dab06b2375adee0b23969942668
7
+ data.tar.gz: 355f57116257fcaa0c136f4bedb929e080e6a7bb76b17763dc23e74530bbced96e8ad0c3c943309306bd4df7e5718b619f46eac69a2816e9f3f3d72f8467fdd7
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # The chenge history of Pandas wrapper for Ruby
2
2
 
3
+ ## 0.3.6
4
+
5
+ * Add `to_narray` in `Pandas::DataFrame`, `Pandas::Series`, and `Pandas::Index`
6
+
3
7
  ## 0.3.5
4
8
 
5
9
  * Fix the bug of `to_a` for Series after doing dropna
@@ -6,5 +6,9 @@ module Pandas
6
6
  key = PyCall::List.new(key) if key.is_a?(Array)
7
7
  super
8
8
  end
9
+
10
+ def to_narray
11
+ to_numpy.to_narray
12
+ end
9
13
  end
10
14
  end
data/lib/pandas/index.rb CHANGED
@@ -25,5 +25,9 @@ module Pandas
25
25
  def to_a
26
26
  Array.new(length) {|i| self[i] }
27
27
  end
28
+
29
+ def to_narray
30
+ to_numpy.to_narray
31
+ end
28
32
  end
29
33
  end
data/lib/pandas/series.rb CHANGED
@@ -40,5 +40,9 @@ module Pandas
40
40
  def to_a
41
41
  Array.new(length) {|i| self.iloc[i] }
42
42
  end
43
+
44
+ def to_narray
45
+ to_numpy.to_narray
46
+ end
43
47
  end
44
48
  end
@@ -1 +1 @@
1
- PANDAS_VERSION = "0.3.5"
1
+ PANDAS_VERSION = "0.3.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Murata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-30 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pycall