Closed ashutoshkrsh closed 1 year ago
Dear Ashutosh,
Good day!
You need to create the first column with header title 'tid'.
Next, you have to put 1, 2, 3,...
Since, we have deleted that column yesterday, you are getting an
error message.
please check the attached file.
Regards Uday
On Thu, 27 Jul 2023 at 10:07, ashutoshkrsh @.***> wrote:
Dear Sir, I am encountering an indentation error when importing this code. Specifically, there is an indentation issue in the block of code for createTransactional, after the else statement. I kindly request your assistance in resolving this matter promptly. Thank you for your attention to this matter. Sincerely, Ashutosh Kumar
def createTransactional(self, outputFile): """ :Description: Create transactional data base
:param outputFile: str : Write transactional data base into outputFile """ self.outputFile = outputFile with open(outputFile, 'w') as f: if self.condition not in condition_operator: print('Condition error') else: for tid in self.tids: transaction = [item for item in self.items if condition_operator[self.condition](self.inputDF.at[tid, item], self.thresholdValue)] if len(transaction) > 1: f.write(f'{transaction[0]}') for item in transaction[1:]: f.write(f'\t{item}') elif len(transaction) == 1: f.write(f'{transaction[0]}') else: continue f.write('\n')
— Reply to this email directly, view it on GitHub https://github.com/UdayLab/PAMI/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMN3BXHFYZ6MKFREC3EIZGLXSG5M5ANCNFSM6AAAAAA2ZLDBO4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Regards
Prof. Rage Uday Kiran Associate Professor Database Systems Lab Division of Information Systems University of Aizu, Aizu-Wakamatsu, Japan.
Lab number: 145-A
Mobile no. +81 80 4834 0999 Phone no. (Lab) +81 242 37 2541 (Ext) 3115
When people throw stones at you, convert them into milestones.
Sir, I am unable to import "from PAMI.extras.DF2DB import denseDF2DB as pro" due to an error.
Error:
Traceback (most recent call last):
File "C:/Users/ashut/Downloads/PAMI/sdf.py", line 1, in
Please see line number 55 and 56 of the below link:
https://github.com/UdayLab/PAMI/blob/main/PAMI/extras/DF2DB/denseDF2DB.py
And, Sir, in the code manual of the transactional database, it was written, that TID represents row number and we can ignore it to save storage and process time, That's why we didn't include it, but now we will include it.
Please report this error in the PAMI repository.
On Thu, 27 Jul 2023 at 10:50, ashutoshkrsh @.***> wrote:
Sir, I am unable to import "from PAMI.extras.DF2DB import denseDF2DB as pro" due to an error.
Error: Traceback (most recent call last): File "C:/Users/ashut/Downloads/PAMI/sdf.py", line 1, in from PAMI.extras.DF2DB import denseDF2DB as pro File "C:\Users\ashut\AppData\Local\Programs\Python\Python311\Lib\site-packages\PAMI\extras\DF2DB\denseDF2DB.py", line 55 else: ^ IndentationError: unindent does not match any outer indentation level
Please see line number 55 and 56 of the below link:
https://github.com/UdayLab/PAMI/blob/main/PAMI/extras/DF2DB/denseDF2DB.py
And, Sir, in the code manual of the transactional database, it was written, that TID represents row number and we can ignore it to save storage and process time, That's why we didn't include it, but now we will include it.
— Reply to this email directly, view it on GitHub https://github.com/UdayLab/PAMI/issues/47#issuecomment-1652796636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMN3BXBITOJT4WVRCTBSLGLXSHCOJANCNFSM6AAAAAA2ZLDBO4 . You are receiving this because you commented.Message ID: @.***>
-- Regards
Prof. Rage Uday Kiran Associate Professor Database Systems Lab Division of Information Systems University of Aizu, Aizu-Wakamatsu, Japan.
Lab number: 145-A
Mobile no. +81 80 4834 0999 Phone no. (Lab) +81 242 37 2541 (Ext) 3115
When people throw stones at you, convert them into milestones.
Dear Ashutosh,
Please update the PAMI using (pip install --upgrade pami) in your system and try to import the code. We already solved this bug, you should be able to execute it.
Let us know, if you still face any problem.
Thank you, Now the issue is resolved.
Dear Sir, I am encountering an indentation error when importing this code. Specifically, there is an indentation issue in the block of code for createTransactional, after the else statement. I kindly request your assistance in resolving this matter promptly. Thank you for your attention to this matter. Sincerely, Ashutosh Kumar
def createTransactional(self, outputFile): """ :Description: Create transactional data base