Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exporting variable len array data to pandas #1508

Merged

Conversation

jenshnielsen
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Mar 5, 2019

Codecov Report

Merging #1508 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1508      +/-   ##
==========================================
+ Coverage   73.81%   73.82%   +0.01%     
==========================================
  Files          92       92              
  Lines       10434    10438       +4     
==========================================
+ Hits         7702     7706       +4     
  Misses       2732     2732

@@ -878,10 +878,22 @@ def get_data_as_pandas_dataframe(self,
elif len(keys) == 2:
index = pd.Index(subdict[keys[1]].ravel(), name=keys[1])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a side question, is it guaranteed by self.get_parameter_data that keys[0] == name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the first element is always the dependent data

@jenshnielsen jenshnielsen merged commit fd19021 into microsoft:master Mar 6, 2019
@jenshnielsen jenshnielsen deleted the pandas_variable_len_arrays branch March 6, 2019 08:51
giulioungaretti pushed a commit that referenced this pull request Mar 6, 2019
Merge: 002c6e8 fd52339
Author: Jens Hedegaard Nielsen <[email protected]>

    Merge pull request #1508 from jenshnielsen/pandas_variable_len_arrays
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.

2 participants