Posts

Showing posts from December 29, 2018

AssertionError: Index is not unique on dataframe (Entity cust) using Featuretools

Image
1 I have a dataframe as below customerid term age 08a858899538ddb8e015390510b321f0830199897 30 24 18a858959537a097401537a4e316e25f730196361 60 72 a8589c253ace09b0153af6ba58f1f313019822366 45 38 I am creating an entity as below using featuretools es = es.entity_from_dataframe(entity_id = 'cust', dataframe = df, index = 'customerid') but i get the error AssertionError: Index is not unique on dataframe (Entity cust) yet customerid is the identifier python python-3.x feature-extraction featuretools share | improve this question edited Nov 20 at 17:34 ...

PyQt: Adding user input into list

Image
0 I am trying to make a list box where a user can enter more items to the list. I have a list box set up with an add button. The add button opens up a user input box where it will direct the user to enter a value. However, I am have issue with passing on the value of user input to the add onto the list. Any suggestions would help. Below is my code: List box from input_box import * class list_form(QtGui.QWidget): def __init__(self,list_of_items,open_text,parent= None): super(list_form, self).__init__() global output_path output_path = output_path_i grid = QtGui.QGridLayout() grid.setSpacing(10) self.widget = QtGui.QWidget() self.layout = QtGui.QGridLayout(self.widget) open_message = QtGui.QLabel(open_text) grid.addWidget(open_m...