Skip to content

Conversation

@Joshua-Dias-Barreto
Copy link
Collaborator

This is the equivalent of pandas.ffils().

Tests have also been written for this method.

This is a fix for issue #221

@jecisc
Copy link
Member

jecisc commented May 16, 2023

I have a hard time to think about a case were the user would prefer that to replacing by a constant, the average, the mean or another statistic. But it does not cost a lot to have so we can add it yes

Comment on lines +1801 to +1805
1 to: self numberOfColumns do: [ :i |
self numberOfRows to: 1 by: -1 do: [ :j |
j < numberOfRows ifTrue: [
(self at: j at: i) ifNil: [ self at: j at: i put: value ] ].
value := self at: j at: i ] ]
Copy link
Member

Choose a reason for hiding this comment

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

I prefer to use #columnIndex and #rowIndex as variable name for readability.

But this is just a detail :)

@jecisc jecisc merged commit f01a8ec into PolyMathOrg:master May 16, 2023
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