cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

elgeo
by Valued Contributor II
  • 3401 Views
  • 2 replies
  • 3 kudos

Resolved! String data type - Max number of chars

Hello. Could anyone please confirm the maximum number of characters for sql string data type? Thank you in advance

  • 3401 Views
  • 2 replies
  • 3 kudos
Latest Reply
Kaniz
Community Manager
  • 3 kudos

Hi @ELENI GEORGOUSI​, The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1. Hope this answer helps you.

  • 3 kudos
1 More Replies
Mr__E
by Contributor II
  • 2380 Views
  • 2 replies
  • 2 kudos

Resolved! OneHotEncoder fails with 'Cannot have an empty string for name'

I have followed the basic guide on using OneHotEncoder, matching the syntax exactly with my own data tables. The tables have enumerated string values. I first run a StringIndexer (both with and without handleInvalid set):indexer = StringIndexer( ...

  • 2380 Views
  • 2 replies
  • 2 kudos
Latest Reply
EliasHaydar
New Contributor II
  • 2 kudos

Nice catch ! Indeed, the error is misleading. In my case, it was a specific column that had a string with just whitespaces.

  • 2 kudos
1 More Replies
User16826992666
by Valued Contributor
  • 3907 Views
  • 1 replies
  • 0 kudos

Text length limitations in the display() function

Is there a way to change the limit to the length of strings that can be shown using the display() function in notebooks? If I'm noticing truncation, what can I do?

  • 3907 Views
  • 1 replies
  • 0 kudos
Latest Reply
User16826992666
Valued Contributor
  • 0 kudos

There is a 500 character limit to strings in columns which is non-configurable. To see the full contents of the column, you can either use the tooltip to expand the cell or download the full results.

  • 0 kudos
Labels