pandas libs tslib OutOfBoundsDatetime Out of bounds nanosecond timestamp

0 votes

Hi Guys,

I am trying to import the Pandas module in my Jupyter Notebook. But it is showing me the below error.

pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp

How can I solve this error?

Jul 16, 2020 in Python by akhtar
• 38,210 points

1 answer to this question.

0 votes


I think you need to upgrade or reinstall your Pandas module in your system. You can also try this below command once. It may work.

import pandas as pd
from datetime import datetime
df = pd.DataFrame([{"datetime": datetime.strptime("9999-1-1T00:00", "%Y-%m-%dT%H:%M")}])
answered Jul 16, 2020 by MD
• 95,320 points

Related Questions In Python

0 votes
0 answers

Size is (121,512,512). Error is coming as : IndexError: index 152 is out of bounds for axis 0 with size 121.

def nodule_detect(nodules,j,numpyImage, numpyOrigin, numpySpacing): ...READ MORE

Jan 28, 2020 in Python by anonymous
• 150 points
0 votes
1 answer

How can I find out the index of an element from row and column in Python?

You probably want to use np.ravel_multi_index: [code] import numpy ...READ MORE

answered Apr 16, 2018 in Python by charlie_brown
• 7,780 points
0 votes
1 answer

How can I reformat value_counts() analysis in Pandas for large number of columns?

If I were you, I'd do it ...READ MORE

answered Apr 17, 2018 in Python by anonymous
0 votes
1 answer

Start an iteration on first row of a group Pandas

For anyone needing this information in the ...READ MORE

answered Sep 6, 2018 in Python by Priyaj
• 58,140 points
0 votes
1 answer
0 votes
1 answer

How to create Pandas series from dictionary?

Here's a sample script: import pandas as pd import ...READ MORE

answered Apr 1, 2019 in Python by Prateek
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,475 views
0 votes
1 answer

I can't get a graph out of my information

Hi@lzzy, According to your error, there is a ...READ MORE

answered Jun 11, 2020 in Python by MD
• 95,320 points
0 votes
1 answer

How to filter Pandas DataFrame by values of columns?

Hi@akhtar, You can filter Pandas Dataframe with the ...READ MORE

answered Oct 20, 2020 in Python by MD
• 95,320 points