Skip to content

Commit c075a57

Browse files
King-OzymandiasKing-Ozymandias
authored andcommitted
Remove method that - according to github issues - belongs to entirely different library, and PR had merge issues.
1 parent 9f31046 commit c075a57

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/DataFrame/DataFrame.class.st

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -995,22 +995,6 @@ DataFrame >> crossTabulate: colName1 with: colName2 [
995995
^ col1 crossTabulateWith: col2
996996
]
997997

998-
{ #category : 'copying' }
999-
DataFrame >> dataPreProcessingEncodeWith: anEncoder [
1000-
"This method is here to speed up pharo-ai/data-preprocessing algos without coupling both projects."
1001-
1002-
| copy cache |
1003-
copy := self copy.
1004-
cache := IdentityDictionary new.
1005-
self columns doWithIndex: [ :dataSerie :columnIndex |
1006-
| category |
1007-
category := cache at: columnIndex ifAbsentPut: [ ((anEncoder categories at: columnIndex) collectWithIndex: [ :elem :index | elem -> index ]) asDictionary ].
1008-
dataSerie doWithIndex: [ :element :rowIndex |
1009-
copy at: rowIndex at: columnIndex put: (category at: element ifAbsent: [ AIMissingCategory signalFor: element ]) ] ].
1010-
1011-
^ copy
1012-
]
1013-
1014998
{ #category : 'data-types' }
1015999
DataFrame >> dataTypeOfColumn: aColumnName [
10161000
"Given a column name of the DataFrame, it returns the data type of that column"

0 commit comments

Comments
 (0)