Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-processing new module update #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

zhuchloe
Copy link

data_conversion

new = datetime.strptime(date, '')
df["new_date"] = datetime.strftime()

ini_time = "Jul 17 2019 11:49AM"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we are seeing a specific time here? Or should it be a comment?

@zhuchloe
Copy link
Author

zhuchloe commented Jul 1, 2022 via email



if __name__ == '__main__':
print(df)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we seeing these lines of code here?

import pandas as pd
from datetime import datetime, timedelta

df = pd.read_csv("test_conversion.csv")
print(df)
def type_conversion():

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you going to pass any arguments to the function?

df = pd.read_csv("test_conversion.csv")
print(df)
def type_conversion():
"""Function that do data type conversion for time features

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are still working on this function. I don't think we are stating all the information needed here.

# lst.append(difference)
#
#
# df["converted_time"] = lst




if __name__ == '__main__':
Copy link

@mobashir-shandhi mobashir-shandhi Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using this line?

Copy link

@mobashir-shandhi mobashir-shandhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you creating this code for the case study? How the full code is relevant to the pre-process module? For the case study, we need part of the code, you can just have that in the sample code for the case study. You do not need to create a separate .py file.

@@ -183,4 +183,8 @@ various health monitoring sensors |

### Continued Development

### Data type conversion functions:
data_conversion: with funciton used to convert the time feature in the csv file
Copy link

@mobashir-shandhi mobashir-shandhi Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be: "date_conversion: function to convert the format of time in a csv file"?

@zhuchloe
Copy link
Author

zhuchloe commented Aug 5, 2022

new version of the data conversion functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants