Skip to content

Conversation

@itholic
Copy link
Contributor

@itholic itholic commented Dec 19, 2019

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.MultiIndex.from_product.html#pandas.MultiIndex.from_product

>>> numbers = [0, 1, 2]
>>> colors = ['green', 'purple']
>>> ks.MultiIndex.from_product([numbers, colors],
...                            names=['number', 'color'])
MultiIndex([(0,  'green'),
            (0, 'purple'),
            (1,  'green'),
            (1, 'purple'),
            (2,  'green'),
            (2, 'purple')],
           names=['number', 'color'])

@codecov-io
Copy link

codecov-io commented Dec 19, 2019

Codecov Report

Merging #1144 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1144      +/-   ##
==========================================
- Coverage   95.19%   95.11%   -0.09%     
==========================================
  Files          35       35              
  Lines        7071     7078       +7     
==========================================
+ Hits         6731     6732       +1     
- Misses        340      346       +6
Impacted Files Coverage Δ
databricks/koalas/indexes.py 96.49% <100%> (+0.11%) ⬆️
databricks/koalas/plot.py 93.33% <0%> (-0.96%) ⬇️
databricks/koalas/frame.py 96.76% <0%> (-0.12%) ⬇️
databricks/koalas/missing/indexes.py 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 468bf3a...b3b2a94. Read the comment docs.

@HyukjinKwon HyukjinKwon merged commit e6512d9 into databricks:master Dec 23, 2019
@itholic itholic deleted the mi_from_product branch January 2, 2020 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants