Conversation
|
Found 2 changed notebooks. Review the changes at https://gitnotebooks.com/GitNotebooks/demo/pull/1 |
|
We can see dataframe diffs?? Respond and view the context here. |
|
Inline comments on the left and right! Respond and view the context here. |
|
Plots are rendered too! Respond and view the context here. |
|
Markdown rendering ftw! Respond and view the context here. |
|
Comments are marked Respond and view the context here. |
ad9610f to
211f47a
Compare
|
Nice. Respond and view the context here. |
|
Test comment Respond and view the context here. |
|
Code comment. Respond and view the context here. |
|
Really? Respond and view the context here. |
|
Commented on notebook ## Ufuncs: Operations Between DataFrame and Series
When performing operations between a ``DataFrame`` and a ``Series``, the index and column alignment is similarly maintained.
Operations between a ``DataFrame`` and a ``Series`` are similar to operations between a two-dimensional and one-dimensional NumPy array.
Consider one common operation, where we find the difference of a two-dimensional array and one of its rows:Comment on markdown cells! Respond and view the context here. |
| @@ -16,7 +16,7 @@ | |||
| }, | |||
There was a problem hiding this comment.
Commented on notebook sklearn-example.ipynb Cell 5 From line 2 to 3
iris['PCA2'] = X_2D[:, 1]
sns.lmplot(x="PCA1", y="PCA2", hue='species', data=iris, fit_reg=False);Comments on the left and right!
Respond and view the context here.
There was a problem hiding this comment.
Seems like better separation among the classes now. Have you tried something like a kernelPCA?
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 12 Line 1
## Ufuncs: Operations Between DataFrame and Series with a changed header"start a review" button didn't work for me - Android chrome
asah
left a comment
There was a problem hiding this comment.
I submitted a review but the review charges button is still available... So I'm submitting another... ?
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 1 Line 1
# Operating on Data in PandasCommenting on the header Operating on Data in Pandas
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 1 Line 1
# Operating on Data in PandasWoo!
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 11 Line 18
# Large cells? No problem. Cells are collapsed to showcase the diff
# Large cells? No problem. Cells are collapsed to showcase the diff
# Large cells? No problem. Cells are collapsed to showcase the diff
# Large cells? No problem. Cells are collapsed to showcase the diff
# Large cells? No problem. Cells are collapsed to showcase the diff
# Large cells? No problem. Cells are collapsed to showcase the diff
fill = A.stack().mean()Comment Test
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 5 Line 1
Any item for which one or the other does not have an entry is marked with ``NaN``, or "Not a Number," which is how Pandas marks missing data (see further discussion of missing data in [Handling Missing Data](03.04-Missing-Values.ipynb)).Leaving a diff comment
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 3 Line 5
One of the essential pieces of NumPy is the ability to perform quick element-wise operations, both with basic arithmetic (addition, subtraction, multiplication, etc.) and with more sophisticated operations (trigonometric functions, exponential and logarithmic functions, etc.).
Pandas inherits much of this functionality from NumPy, and the ufuncs that we introduced in [Computation on NumPy Arrays: Universal Functions](https://gitnotebooks.com/blog) are key to this.
Pandas includes a couple useful twists, however: for unary operations like negation and trigonometric functions, these ufuncs will *preserve index and column labels* in the output, and for binary operations such as addition and multiplication, Pandas will automatically *align indices* when passing the objects to the ufunc.
This means that keeping the context of data and combining data from different sources–both potentially error-prone tasks with raw NumPy arrays–become essentially foolproof ones with Pandas.Leaving a comment here!
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 8 Line 1
A.subtract(B, fill_value=0)Leaving a comment!
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 9 Line 1
Observe that the indices align accurately regardless of their sequence in the two objects, and the result's indices are organized in ascending order.Adding another comment
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 8 Line 1
A.subtract(B, fill_value=0)Leaving a comment
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 9 Line 1
Notice that indices are aligned correctly irrespective of their order in the two objects, and indices in the result are sorted.Commenting on other side
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 3 Line 4
One of the essential pieces of NumPy is the ability to perform quick element-wise operations, both with basic arithmetic (addition, subtraction, multiplication, etc.) and with more sophisticated operations (trigonometric functions, exponential and logarithmic functions, etc.).
Pandas inherits much of this functionality from NumPy, and the ufuncs that we introduced in [Computation on NumPy Arrays: Universal Functions](https://gitnotebooks.com/blog) are key to this.
Pandas includes a couple useful twists, however: for unary operations like negation and trigonometric functions, these ufuncs will *preserve index and column labels* in the output, and for binary operations such as addition and multiplication, Pandas will automatically *align indices* when passing the objects to the ufunc.comment
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 5 Line 1
Any item for which one or the other does not have an entry is marked with ``NaN``, or "Not a Number," which is how Pandas marks missing data (see further discussion of missing data in [Handling Missing Data](03.04-Missing-Values.ipynb)).Can I suggest the change here ? +- type changes in git
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 9 Line 2
Observe that the indices align accurately regardless of their sequence in the two objects, and the result's indices are organized in ascending order.
As was the case with ``Series``, we can use the associated object's arithmetic method and pass any desired ``fill_value`` to be used in place of missing entries.Comment
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 3 Line 4
One of the essential pieces of NumPy is the ability to perform quick element-wise operations, both with basic arithmetic (addition, subtraction, multiplication, etc.) and with more sophisticated operations (trigonometric functions, exponential and logarithmic functions, etc.).
Pandas inherits much of this functionality from NumPy, and the ufuncs that we introduced in [Computation on NumPy Arrays: Universal Functions](https://gitnotebooks.com/blog) are key to this.
Pandas includes a couple useful twists, however: for unary operations like negation and trigonometric functions, these ufuncs will *preserve index and column labels* in the output, and for binary operations such as addition and multiplication, Pandas will automatically *align indices* when passing the objects to the ufunc.my comment!
| @@ -16,7 +16,7 @@ | |||
| }, | |||
There was a problem hiding this comment.
Commented on notebook sklearn-example.ipynb Cell 5 Line 3
iris['PCA1'] = X_2D[:, 0]
iris['PCA2'] = X_2D[:, 1]
sns.lmplot(x="PCA1", y="PCA2", data=iris, hue='species', fit_reg=False, markers=["o", "s", "D"], palette="Set1");Comment
| @@ -16,7 +16,7 @@ | |||
| }, | |||
There was a problem hiding this comment.
Commented on notebook sklearn-example.ipynb Cell 6 Line 1
We see that in the two-dimensional representation, the species are fairly well separated, even though the PCA algorithm had no knowledge of the species labels!comment 2
| @@ -11,24 +11,24 @@ | |||
| "cell_type": "markdown", | |||
There was a problem hiding this comment.
Commented on notebook pandas-example.ipynb Cell 5 Line 1
Any item for which one or the other does not have an entry is marked with ``NaN``, or "Not a Number," which is how Pandas marks missing data (see further discussion of missing data in [Handling Missing Data](03.04-Missing-Values.ipynb)).comment 3
smith-kyle
left a comment
There was a problem hiding this comment.
Here are some comments
| @@ -16,7 +16,7 @@ | |||
| }, | |||
There was a problem hiding this comment.
Commented on notebook sklearn-example.ipynb Cell 5 From line 1 to 2
iris['PCA1'] = X_2D[:, 0]
iris['PCA2'] = X_2D[:, 1]Please idk change something here
| @@ -16,7 +16,7 @@ | |||
| }, | |||
There was a problem hiding this comment.
Commented on notebook sklearn-example.ipynb Cell 7 Line 1
### Unsupervised learning: Dimensionality reductionThanks for deleting this
No description provided.