Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Convert SAS Dates Format in a loop
Post: RE: Convert SAS Dates Format in a loop

Can someone help or is there anything I am missing while raising a query?
MohanReddy General Coding Help 2 3,040 Apr-02-2019, 08:56 AM
    Thread: Convert SAS Dates Format in a loop
Post: Convert SAS Dates Format in a loop

import pandas as pd Dates_Min_Max_Df = pd.read_sas("path/file.sas7bdat") print(Dates_Min_Max_Df) Minimum_Date Maximum_Date Close_dt 1.556669e+09 1.856563e+09 Open_dt 1.8...
MohanReddy General Coding Help 2 3,040 Apr-01-2019, 04:56 AM
    Thread: Creating a word list
Post: RE: Creating a word list

#Assuming below is the input in the text file Hi Good Morning! How are you? I am fine. How are studying? I am Apple. I am doing fine. Thanks for asking. I am April. I am ok. Not good raw_data = open...
MohanReddy General Coding Help 2 7,708 Mar-19-2019, 06:00 PM
    Thread: How to create a dataframe from timestamp values
Post: RE: How to create a dataframe from timestamp value...

import pandas as pd data_frame_1 = pd.read_sas("path\dataset.sas7bdat") # When the data got loaded to a dataframe from SAS dataset, the values have been loaded as exponential values. So i have used to...
MohanReddy Data Science 5 4,180 Mar-19-2019, 05:05 PM
    Thread: How to create a dataframe from timestamp values
Post: RE: How to create a dataframe from timestamp value...

Can some one help on the query i have posted
MohanReddy Data Science 5 4,180 Mar-19-2019, 04:36 AM
    Thread: How to create a dataframe from timestamp values
Post: RE: How to create a dataframe from timestamp value...

date_cols = ['CLOSE', 'D_MONTH', 'OPEN'] gbl = globals() for i in date_cols: gbl[i] = pd.to_timedelta(min(data_frame_1[i]), unit='s') + pd.datetime(1960, 1, 1)I am getting the output as below Outp...
MohanReddy Data Science 5 4,180 Mar-18-2019, 02:55 PM
    Thread: How to create a dataframe from timestamp values
Post: How to create a dataframe from timestamp values

date_cols = ['CLOSE', 'D_MONTH', 'OPEN'] gbl = globals() for i in date_cols: gbl[i] = pd.to_timedelta(min(data_frame_1[i]), unit='s') + pd.datetime(1960, 1, 1) the output looks like this:...
MohanReddy Data Science 5 4,180 Mar-18-2019, 09:03 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020