Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

The code is not working in Juypter notebook inside Alteryx

Karthik24
7 - Meteor

The python code works fine outside of Alteryx in jupyter notebook. But when I package it and try to run inside Alteryx it throws an error.

 

I am using the following code to run the data.

 

def find_grams(text):
for i in df:
tokens = list(map(lambda data: data.split(' '), clean))
return tokens

 

 

It gives the following error inside Alteryx

 

Attribute Error: 'float' object has no attribute 'split'

 

0 REPLIES 0
Labels