-
-
Notifications
You must be signed in to change notification settings - Fork 141
CLEAN: Remove some unnecessary types from S1
#520
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
Comments
i'll look into it |
1)For Series[Timestamp] from test_scalars.py we have this TimestampSeries can't be used here
We have instances like this, here also we can't replace it
we also have this I think both these are req.
|
OK, that's actually a bug in the tests and the types because the correct type should be
Are you saying if you remove
Yes, it's related to (1) above. So you have to leave it in for now.
That's good.
Yes, I think that has to stay.
Good. |
No, test do not fail but |
I don't think it's related to 1 as we have more declarations like this in |
So just to clarify you can remove |
Try removing them all and see which tests fail, then put back the minimal number so the current tests pass. It's related because I think if you take |
Actually there are 5( |
It might relate to (1). If you want, create a PR with what you have and I can take a look. |
Yes I'll create a pr |
@Dr-Irv Sir i'll make the PR tommorow, i am not feeling well today So taking rest. |
No rush! |
* Modified S1 * Removed two datetime.* * req. changes * typo changes * removed datetime.* and modified the test likewise * Reverting changes made in last commit
* Modified S1 * Removed two datetime.* * req. changes * typo changes * removed datetime.* and modified the test likewise * Reverting changes made in last commit
I think that
S1
has types that are not needed, e.g., thedatetime
types.As discussed here #519 (review)
we should see which ones we can safely remove without changing any tests or other parts
For things like
Timestamp
,Timedelta
,Period
, we may be able to get rid of all references toSeries[Timestamp]
,Series[Timedelta]
andSeries[Period]
because we haveTimestampSeries
,TimedeltaSeries
andPeriodSeries
, but we leave the references just in the class definition there from an inheritance perspective.@ramvikrams to investigate
The text was updated successfully, but these errors were encountered: